XML 27 R6.htm IDEA: XBRL DOCUMENT v3.22.2.2
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2022
Sep. 30, 2021
Operating activities:    
Net loss $ (405,226) $ (331,152)
Adjustments to reconcile net loss to net cash used in operating activities:    
Depreciation and amortization 12,772 8,259
Expensed in-process research and development   35,604
Premium amortization and discount accretion on investment securities 3,971 5,707
Stock-based compensation 116,398 84,797
Non-cash lease expense 9,989 8,106
Amortization of debt discount and issuance cost 941 917
Inventory reserve adjustments (148) 726
Other non-cash benefits 100 133
Provision for credit losses 2,615 380
Unrealized losses on investment securities (12)  
Gain (loss) on investments 532 (58)
Changes in operating assets and liabilities:    
Accounts receivable (116,903) (32,232)
Inventory (13,372) (8,717)
Prepaid expenses and other current assets 686 (254)
Other assets (200) (550)
Accounts payable 8,367 183
Accrued compensation 1,285 4,960
Operating lease liabilities (7,207) (7,597)
Other accrued liabilities 35,422 34,845
Deferred revenue (384) (40,557)
Cash used in operating activities (350,374) (236,500)
Investing activities:    
Purchases of investments (86,947) (674,372)
Proceeds from sale of investments 214,738 77,563
Proceeds from maturity of investments 216,500 348,410
Purchases of property and equipment, net (35,870) (32,027)
Cash paid for acquisition of an asset   (4,271)
Cash provided by investing activities 308,421 (284,697)
Financing activities:    
Proceeds from exercise of stock options 5,971 10,774
Proceeds from issuance of common stock under employee stock purchase plan 8,496 6,085
Proceeds from public offering, net of issuance costs   550,814
Cash provided by financing activities 14,467 567,673
Net increase in cash, cash equivalents and restricted cash (27,486) 46,476
Cash, cash equivalents and restricted cash, beginning of period 84,614 48,855
Cash, cash equivalents and restricted cash, end of period 57,128 95,331
Supplemental disclosure of cash flow information:    
Cash paid for interest 4,008 3,690
Non-cash investing and financing activities:    
Purchases of property and equipment in accounts payable and accruals $ 458 $ 4,957