XML 19 R7.htm IDEA: XBRL DOCUMENT v3.8.0.1
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2017
Dec. 31, 2016
Dec. 31, 2015
Cash flows from operating activities      
Net loss $ (79,000) $ (142,110) $ (170,447)
Adjustments to reconcile net loss to net cash used in operating activities:      
Depreciation and amortization 17,682 3,290 2,876
Change in valuation of warrant liability 0 (47) (140)
Amortization of premiums on investments 535 1,885 2,480
Amortization of debt issuance costs 433 302 107
Share-based compensation expense 30,559 35,009 33,979
Non-cash interest expense 6,755 6,065 2,146
Disposal of asset 5 0 (37)
Benefit for deferred income taxes 199 (199) 0
Unrealized foreign currency transaction (gains) losses, net (459) 1,202 0
Changes in operating assets and liabilities:      
Inventory, net (6,454) 0 0
Prepaid expenses and other current assets (1,784) 1,171 (2,107)
Trade receivables, net (12,203) (14,842) (6,907)
Deposits and other assets (544) (278) 131
Accounts payable and accrued expenses 24,011 4,259 16,981
Other long-term liabilities 733 (799) (92)
Deferred revenue 9,469 1,526 (3,307)
Net cash used in operating activities (10,063) (103,566) (124,337)
Cash flows from investing activities      
Purchases of fixed assets (3,101) (1,776) (2,720)
Purchases of marketable securities (81,368) (85,377) (223,762)
Sale & redemption of marketable securities 174,749 191,634 205,671
Acquisition, including transaction costs (77,163) 0 0
Net cash provided by (used in) investing activities 13,117 104,481 (20,811)
Cash flows from financing activities      
Proceeds from exercise of options 2,182 968 8,711
Proceeds from shares issued under employee stock purchase plan 2,468 0 0
Proceeds from issuance of secured term loan 40,000 0 0
Proceeds from issuance of convertible notes 0 0 150,000
Net cash provided by financing activities 44,218 968 154,061
Effect of exchange rate changes on cash 6,199 (1,584) (639)
Net increase in cash and cash equivalents 53,471 299 8,274
Cash and cash equivalents, beginning of period 58,321 58,022 49,748
Cash and cash equivalents, end of period 111,792 58,321 58,022
Supplemental disclosure of cash information      
Cash paid for interest 6,271 4,513 0
Cash paid for income taxes 1,101 943 111
Supplemental disclosures of non-cash information related to investing and financing activities      
Change in unrealized gain (loss) on marketable securities 225 386 (202)
MidCap Financial Trust      
Cash flows from financing activities      
Debt issuance costs (432) 0 0
Convertible debt      
Cash flows from financing activities      
Debt issuance costs $ 0 $ 0 $ (4,650)