XML 22 R6.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 $ (167,870) $ (281,584) $ (235,259)
Adjustments to reconcile net loss to net cash used in operating activities:      
Stock-based compensation 63,615 84,422 82,265
Amortization of premiums and accretion of discounts on investment securities 2,404 1,470 (3,613)
Amortization of intangible assets 1,108 1,477 1,477
(Gain) loss on strategic investment (2,329) 997 (997)
Depreciation 2,236 1,455 1,289
Loss on disposal of assets 0 281 3
Non-cash in-process research and development 0 44,280  
Changes in operating assets and liabilities:      
Accounts receivable, net (16,119) (12,466) (9,691)
Interest and other receivables 1,057 58 (394)
Inventory (4,210) (3,320) (1,737)
Prepaid expenses and other current assets 1,802 (7,088) 2,121
Operating lease right-of-use assets 6,287 4,280 3,875
Other assets 10 182 39
Accounts payable (1,617) 1,271 4,055
Accrued liabilities (8,455) 27,569 6,458
Operating lease liabilities (5,433) (1,769) (2,518)
Long-term liabilities 1,854 2,319 1,497
Net cash used in operating activities (125,660) (136,166) (151,130)
Cash flows from investing activities      
Purchases of investment securities (492,797) (339,908) (578,634)
Maturities of investment securities 422,817 540,004 413,927
Net purchases of property and equipment (1,122) (7,587) (1,129)
Net cash (used in) provided by investing activities (71,102) 192,509 (165,836)
Cash flows from financing activities      
Proceeds from issuance of common stock, net of issuance costs 18,162 80,996 371,847
Net cash provided by financing activities 18,162 80,996 371,847
Effect of exchange rate changes on cash 7 (8) 2
Net (decrease) increase in cash, cash equivalents and restricted cash (178,593) 137,331 54,883
Cash, cash equivalents and restricted cash      
Beginning of period 331,798 194,467 139,584
End of period 153,205 331,798 194,467
Supplemental disclosure of cash flow information:      
Cash paid for income taxes 1,038 1,113 1,597
Supplemental disclosure of noncash information:      
Property and equipment purchases in accounts payable and accrued liabilities 0 130 $ 34
Value of common stock issued in connection with asset acquisition $ 0 $ 44,280