XML 59 R8.htm IDEA: XBRL DOCUMENT v3.19.3.a.u2
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2019
Dec. 31, 2018
Dec. 31, 2017
Operating activities      
Net loss $ (356,388) $ (348,995) $ (284,002)
Adjustments to reconcile net loss to net cash used in operating activities:      
Amortization of debt discount and deferred financing 2,546 10,976 9,703
Depreciation and amortization 4,775 4,216 3,593
Stock-based compensation 44,430 29,260 23,101
Loss on exchange of convertible debt 40,624 0 0
Change in fair value of derivatives 0 2,739 (265)
Non-cash changes in the fair value of contingent consideration payable 3,297 3,300 (234,322)
Foreign currency remeasurement (gain) loss 254 3,217 (5,620)
Non-cash deferred taxes (1,415) 0 (167,305)
Loss on impairment 0 0 465,427
Other (149) 59 (8)
Changes in operating assets and liabilities:      
Accounts receivable (11,114) (13,294) (7,725)
Inventories (5,114) (4,205) (897)
Prepaid expenses and other current assets (3,287) 2,488 (15,329)
Accounts payable, accrued expenses, and other current liabilities 46,742 17,115 12,563
Other non-current assets and liabilities (10,117) (581) (9)
Deferred reimbursements (5,500) (6,250) (12,600)
Net cash used in operating activities (250,416) (299,955) (213,695)
Investing activities      
Sale and redemption of marketable securities 499,047 463,502 323,753
Purchases of marketable securities (383,882) (578,394) (490,468)
Capital expenditures (20,012) (6,308) (4,526)
Net cash provided by (used in) investing activities 95,153 (121,200) (171,241)
Financing activities      
Proceeds from issuance of common stock and warrants, net of issuance costs 188,994 294,584 243,037
Payment of finance leases (420)    
Payment of finance leases   (334) (308)
Purchase of vested restricted stock units (3,235) (2,832) (1,596)
Proceeds from termination of capped call confirmations 19,875 0 0
Proceeds from exercise of stock options 11,476 9,144 16,301
Proceeds from exercise of warrants 812 3,617 0
Payment of contingent consideration 0 0 (10,000)
Proceeds from loan agreements, net of issuance costs 0 146,596 0
Net cash provided by financing activities 217,502 450,775 247,434
Effect of exchange rate changes on cash, cash equivalents, and restricted cash 1,729 1,518 1,326
Net increase (decrease) in cash, cash equivalents, and restricted cash 63,968 31,138 (136,176)
Cash, cash equivalents, and restricted cash at the beginning of the year 82,375 51,237 187,413
Cash, cash equivalents, and restricted cash at the end of the year 146,343 82,375 51,237
Supplemental disclosures of cash flow information      
Tenant improvements paid through lease incentive 19,388 0 0
Cash paid during the period for interest 16,966 7,500 7,424
Contingent consideration paid in shares 9,316 0 0
Capital expenditures unpaid at the end of period $ 1,865 $ 106 $ 0