XML 19 R8.htm IDEA: XBRL DOCUMENT v3.19.1
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2019
Mar. 31, 2018
Operating activities    
Net loss $ (120,299) $ (49,916)
Adjustments to reconcile net loss to net cash used in operating activities:    
Amortization of debt discount and deferred financing 1,649 2,601
Depreciation and amortization 991 969
Stock-based compensation 12,744 7,478
Loss on exchange of convertible debt 36,123 0
Change in fair value of derivatives 0 (4,861)
Non-cash changes in the fair value of contingent consideration payable 1,383 1,100
Foreign currency remeasurement (gain) loss 325 (2,957)
Changes in operating assets and liabilities:    
Accounts receivable (1,001) (1,047)
Inventories 345 (3,253)
Prepaid expenses and other current assets 3,059 10,875
Accounts payable and accrued expenses (8,858) (10,347)
Other non-current assets and liabilities (3,507) (163)
Deferred reimbursements (1,500) 0
Net cash used in operating activities (78,546) (49,521)
Investing activities    
Sale and redemption of marketable securities 135,187 121,226
Purchases of marketable securities (52,178) (303,010)
Capital expenditures (2,944) (819)
Net cash used in investing activities 80,065 (182,603)
Financing activities    
Proceeds from issuance of common stock, net of issuance costs 0 294,584
Payment of finance leases (75)  
Payment of finance leases   (71)
Purchase of vested restricted stock units (1,938) (1,912)
Proceeds from termination of capped call confirmations 14,632 0
Proceeds from exercise of stock options 3,953 3,978
Proceeds of exercise of warrants 812 0
Net cash provided by financing activities 17,384 296,579
Effect of exchange rate changes on cash, cash equivalents and restricted cash (2,350) 860
Net decrease in cash, cash equivalents and restricted cash 16,553 65,315
Cash, cash equivalents and restricted cash at beginning of period 82,375 51,237
Cash, cash equivalents and restricted cash at end of period 98,928 116,552
Cash paid during the period for interest    
Capital expenditures, unpaid 4,846 12
Capital expenditures, unpaid 0 142
Payment of contingent consideration in shares $ 9,316 $ 0