XML 17 R7.htm IDEA: XBRL DOCUMENT v3.10.0.1
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2018
Jun. 30, 2017
Operating activities    
Net loss $ (111,751) $ (103,129)
Adjustments to reconcile net loss to net cash used in operating activities:    
Amortization of debt discount and deferred financing 5,273 4,715
Depreciation 1,942 1,636
Stock-based compensation 13,819 11,567
Gain on disposal of asset 0 (8)
Change in fair value of derivatives 2,739 (265)
Non-cash changes in the fair value of contingent consideration payable 1,400 5,628
Foreign currency remeasurement (gain)/ loss 2,107 (3,003)
Non-cash deferred taxes 0 98
Changes in operating assets and liabilities:    
Accounts receivable (6,043) (2,226)
Inventories (3,449) (351)
Prepaid expenses and other current assets 4,584 (2,103)
Other non-current assets (793) (515)
Account payable and accrued expenses (11,801) (4,297)
Non-current liabilities 457 496
Deferred reimbursement (5,000) 0
Net cash used in operating activities (106,516) (91,757)
Investing activities    
Sale and redemption of marketable securities 210,239 137,909
Purchases of marketable securities (380,234) (184,494)
Capital expenditures (1,881) (2,279)
Net cash used in investing activities (171,876) (48,864)
Financing activities    
Proceeds from issuance of common stock, net of issuance costs 294,584 0
Payment of capital leases (142) (142)
Payment of contingent consideration 0 (10,000)
Purchase of vested restricted stock units (2,027) (1,003)
Proceeds from exercise of stock options 7,580 1,554
Payment of deferred financing fees 0 (28)
Proceeds of exercise of warrants 3,617 0
Net cash provided by (used in) financing activities 303,612 (9,619)
Effect of exchange rate changes on cash, cash equivalents and restricted cash (1,016) 614
Net increase (decrease) in cash and cash equivalents and restricted cash 24,204 (149,626)
Cash and cash equivalents and restricted cash at beginning of period 51,237 187,413
Cash and cash equivalents and restricted cash at end of period 75,441 37,787
Supplemental disclosures of cash flow information    
Cash paid during the period for interest 3,774 3,650
Capital expenditures, unpaid 0 351
Capital expenditures funded by capital lease $ 81 $ 0