XML 34 R8.htm IDEA: XBRL DOCUMENT v3.22.0.1
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Cash flows from operating activities      
Net loss $ (74,810) $ (183,101) $ (199,581)
Adjustments to reconcile net loss to net cash used in operating activities      
Depreciation 6,399 6,366 5,138
Amortization and accretion 31,101 27,792 12,976
Acquisition of assets expensed to research and development 0 0 10,171
Stock-based compensation 29,524 40,095 45,093
Other non-cash 1,194 (732) (271)
Changes in operating assets and liabilities      
Accounts receivable, net (12,806) (17,668) (35,639)
Inventory (12,101) (5,166) (10,257)
Prepaid, current and other assets (7,285) 340 (2,144)
Licensing receivable (90,000) 0 0
Accounts payable, accrued expenses and other current liabilities 21,580 22,536 28,766
Operating lease liabilities (5,407) (6,010) (4,682)
Deferred revenue 13,457 50,858 0
Net cash used in operating activities (99,154) (64,690) (150,430)
Cash flows from investing activities      
Acquisition of assets 0 0 (7,835)
Purchase of available-for-sale investments (132,361) (116,591) (165,454)
Proceeds from sales and maturities of investments 117,451 192,870 0
Purchase of property, plant and equipment (3,291) (3,100) (9,958)
Net cash (used in) provided by investing activities (18,201) 73,179 (183,247)
Cash flows from financing activities      
Proceeds from loan 0 8,274 0
Repayment of loan 0 (8,274) 0
Proceeds related to issuance of common stock for stock-based compensation arrangements, net 2,972 (859) 684
Proceeds from exercise of warrants 0 0 761
Proceeds from convertible notes, net of issuance costs 0 0 308,349
Payments of issuance costs 0 0 (1,769)
Payment for capped call options 0 0 (32,890)
Other financing 0 0 (336)
Net cash provided by (used in) financing activities 2,972 (859) 274,799
Net change in cash and cash equivalents (114,383) 7,630 (58,878)
Cash and cash equivalents, at beginning of period 151,570 143,940 202,818
Cash and cash equivalents, at end of period 37,187 151,570 143,940
Supplemental disclosures      
Cash paid for interest 4,744 5,034 6,496
Cash paid for income taxes 0 4,987 0
Non-cash investing and financing activities:      
Liabilities incurred from Avizorex Asset Acquisition 0 0 1,186
Purchases of property, plant and equipment in accounts payable and accrued expense and other current liabilities $ 922 $ 374 $ 771