XML 20 R6.htm IDEA: XBRL DOCUMENT v3.24.0.1
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2023
Dec. 31, 2022
Dec. 31, 2021
Operating activities:      
Net loss $ (434,801) $ (547,799) $ (471,716)
Adjustments to reconcile net loss to net cash used in operating activities:      
Depreciation and amortization 24,097 16,702 11,254
Expensed in-process research and development 2,679 9,290 35,604
Non-cash lease expense 14,519 13,770 10,926
Stock-based compensation 191,808 152,384 115,219
Premium amortization and discount accretion on investment securities 1,087 4,837 7,814
(Gain) loss on investments   906 (46)
Foreign exchange adjustment 265 (2) (11)
Amortization of debt discount and issuance cost 1,292 1,259 1,227
Non-cash interest expense 52 302 94
Changes in operating assets and liabilities:      
Accounts receivable (33,904) (122,311) (43,509)
Inventory (5,353) (8,497) (6,878)
Operating lease right-of-use assets 8,354 622  
Prepaid expenses and other assets (26,072) (1,202) (3,182)
Accounts payable (15,458) 5,462 19,222
Accrued compensation 21,619 3,069 10,569
Operating lease liabilities (12,448) (9,999) (10,296)
Other accrued liabilities 10,347 47,650 32,682
Deferred revenue 4,962 2,056 (44,209)
Net cash used in operating activities (246,955) (431,501) (335,236)
Investing activities:      
Purchases of investments (98,303) (86,947) (876,095)
Proceeds from sale of investments   248,482 187,580
Proceeds from maturity of investments 306,000 216,500 532,910
Purchases of property and equipment, net (39,199) (47,697) (41,030)
Cash paid for acquisition of an asset     (8,558)
Net cash provided by (used in) investing activities 168,498 330,338 (205,193)
Financing activities:      
Proceeds from exercise of stock options 3,892 6,411 11,816
Proceeds from issuance of common stock under employee stock purchase plan 15,128 13,037 13,550
Proceeds from public offering, net of issuance cost 235,441 433,192 550,822
Proceeds from Credit Line   30,000  
Net cash provided by financing activities 254,461 482,640 576,188
Net change in cash, cash equivalents and restricted cash 176,004 381,477 35,759
Beginning cash, cash equivalents and restricted cash 466,091 84,614 48,855
Ending cash, cash equivalents and restricted cash 642,095 466,091 84,614
Supplemental disclosure of cash flow information:      
Cash paid for income taxes 295 549 283
Cash paid for interest 11,346 8,060 7,077
Non-cash investing and financing activities:      
Purchases of property and equipment in accounts payable and accruals 1,582 $ (1,940) $ 5,173
Issuance of common stock for IPR&D milestone 14,435    
Issuance of common stock for bonuses 19,774    
Stock-based compensation included in capitalized software development costs $ 629