XML 18 R6.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 $ (547,799) $ (471,716) $ (229,743)
Adjustments to reconcile net loss to net cash used in operating activities:      
Depreciation and amortization 16,702 11,254 8,613
Expensed in-process research and development 9,290 35,604  
Non-cash lease expense 13,770 10,926 7,834
Stock-based compensation 152,384 115,219 50,171
Inventory reserve adjustments (240) 628 (163)
Premium amortization and discount accretion on investment securities 4,837 7,814 5,761
Gain (loss) on investments 906 (46) (105)
Unrealized losses on investment securities (2) (11)  
Amortization of debt discount and issuance cost 1,259 1,227 149
Other non-cash benefits (charges) 302 94 (149)
Provision for credit losses 1,770 (156) 1,354
Loss on debt extinguishment     5,848
Accretion of Convertible Note     7,048
Changes in operating assets and liabilities:      
Accounts receivable (124,081) (43,353) (25,831)
Inventory (8,257) (7,506) (7,474)
Prepaid expenses and other current assets (1,196) (249) (14,393)
Other assets (6) (2,933) (60)
Accounts payable 5,462 19,222 (118)
Accrued compensation 3,069 10,569 14,284
Operating lease liabilities (9,377) (10,296) (8,993)
Other accrued liabilities 47,650 32,682 10,340
Deferred revenue 2,056 (44,209) (6,895)
Other long-term liabilities     10
Net cash used in operating activities (431,501) (335,236) (182,512)
Investing activities:      
Purchases of investments (86,947) (876,095) (685,239)
Proceeds from sale of investments 248,482 187,580 30,067
Proceeds from maturity of investments 216,500 532,910 343,315
Purchases of property and equipment, net (47,697) (41,030) (19,604)
Cash paid for acquisition of an asset   (8,558)  
Net cash used in investing activities 330,338 (205,193) (331,461)
Financing activities:      
Proceeds from exercise of stock options 6,411 11,816 23,524
Proceeds from issuance of common stock under employee stock purchase plan 13,037 13,550 7,114
Proceeds from Convertible Note, net of issuance costs     278,316
Loan payment     (78,757)
Proceeds from public offering, net of issuance costs 433,192 550,822 270,650
Proceeds from Credit Line 30,000    
Net cash provided by financing activities 482,640 576,188 500,847
Net increase (decrease) in cash equivalents and restricted cash 381,477 35,759 (13,126)
Beginning - cash equivalents & restricted cash 84,614 48,855 61,981
Ending - cash equivalents and restricted cash 466,091 84,614 48,855
Supplemental disclosure of cash flow information:      
Cash paid for income taxes 549 283 67
Cash paid for interest 8,060 7,077 3,296
Non-cash investing and financing activities:      
Purchases of property and equipment in accounts payable and accruals $ (1,940) $ 5,173 $ 2,781