XML 29 R8.htm IDEA: XBRL DOCUMENT v3.22.4
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Operating activities      
Net loss $ (293,654) $ (290,023) $ (189,291)
Adjustments to reconcile net loss to net cash provided by (used in) operating activities:      
Depreciation 10,017 10,170 11,678
Amortization of finance lease right-of-use assets 587 4,639 10,369
Net accretion of premium and discount on investments 1,619 2,482 103
Unrealized loss on equity investments 0 30 0
Investment income in unconsolidated variable interest entity (1,573) (1,007) 202
(Gain) / loss on disposal of property and equipment (1) 233 933
Stock-based compensation 65,601 71,161 72,720
Expense for acquired in-process research and development asset 0 60,000 0
Non-cash interest expense related to sale of future revenues 1,036
Realized loss on sales of available-for-sale securities 5 0 258
Changes in operating assets and liabilities:      
Accounts receivable, net ($(1,158), $(6,803) and $718 from related parties) 765 25,180 (11,973)
Inventories (10,999) (14,158) (9,175)
Prepaid expenses and other current assets ($0, $889 and $124,321 from a related party) 4,916 (9,854) 123,492
Operating lease right-of-use assets 10,908 4,209 (24)
Other assets 263 (4,412) 5,843
Accounts payable ($0, $(1,118) and $1,118 from a related party) 5,909 805 17,731
Accrued and other liabilities ($63,882, $(20) and $(36,859) from a related party) 90,556 16,380 30,914
Operating lease liabilities, current (547) 503 134
Deferred revenue ($11,211, $21,549 and $7,169 from related parties) (4,130) 57,637 45,077
Accrued interest for finance lease liabilities 33 (75) (177)
Operating lease liabilities, non-current (8,994) (4,043) (143)
Other long-term liabilities (18,250) (12,089) (27,069)
Net cash provided by (used in) operating activities (145,933) (82,232) 81,602
Investing activities      
Purchases of property and equipment (3,741) (5,186) (3,994)
Payment made for acquired in-process research and development asset (35,000) (25,000) 0
Payment made for investment in unconsolidated variable interest entity 0 0 (3,896)
Proceeds from equity transfer of unconsolidated variable interest entity 0 0 1,063
Proceeds from sale of property and equipment 6 0 0
Purchases of available-for-sale securities (164,023) (484,144) (8,192)
Proceeds from sales of available-for-sale securities 7,382 4,214 10,606
Proceeds from maturities of investments 284,492 83,144 456,900
Net cash provided by (used in) investing activities 89,116 (426,972) 452,487
Financing activities      
Repayments of finance lease liabilities (135) (5,489) (12,620)
Repayments of lease obligations (403) (403) (403)
Cash paid for payroll taxes on restricted stock unit releases (5,167) (7,372) (11,463)
Proceeds from sale of future revenues, net of issuance costs 49,750
Cash paid for transaction costs related to sale of future revenues (1,453)
Proceeds from issuance of common stock 4,184 12,701 37,829
Net cash provided by (used in) financing activities 46,776 (563) 13,343
Effect of exchange rate change on cash and cash equivalents (5,482) 2,597 4,695
Net increase (decrease) in cash and cash equivalents (15,523) (507,170) 552,127
Total cash and cash equivalents at beginning of period 171,223 678,393 126,266
Total cash and cash equivalents at end of period 155,700 171,223 678,393
Supplemental Cash Flow Information [Abstract]      
Interest payments 104 94 135
Balance in accounts payable and accrued liabilities related to purchases of property and equipment 428 1,009 884
Balance in accrued liabilities related to acquired in-process research and development asset 0 35,000 0
Balance in other receivables related to stock option exercise 0 165 0
Conversion of subsidiary's convertible note payable to non-controlling interests $ 0 $ 696 $ 0