XML 24 R8.htm IDEA: XBRL DOCUMENT v3.23.1
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2023
Mar. 31, 2022
Operating Activities:    
Net income (loss) $ (293,905) $ 203,408
Reconciliation of net income (loss) to net cash provided by (used in) operating activities:    
Depreciation and amortization 9,043 6,765
Non-cash stock-based compensation 28,647 32,933
Provision for excess and obsolete inventory 12,490 0
Right-of-use assets expensed, net of credits received 0 214
Other items, net (1,252) 634
Changes in operating assets and liabilities:    
Inventory (9,222) (99,557)
Accounts receivable, prepaid expenses, and other assets 18,430 (56,016)
Accounts payable, accrued expenses, and other liabilities (230,099) (115,500)
Deferred revenue 140,275 (61,391)
Net cash used in operating activities (325,593) (88,510)
Investing Activities:    
Capital expenditures (19,801) (16,826)
Internal-use software (3,757) 0
Net cash used in investing activities (23,558) (16,826)
Financing Activities:    
Net proceeds from sales of common stock 0 179,385
Net proceeds from the exercise of stock-based awards 543 1,318
Finance lease payments (26,331) (20,838)
Repayment of 2023 Convertible notes (325,000) 0
Payments of costs related to issuance of 2027 Convertible notes (3,591) 0
Net cash provided by (used in) financing activities (354,379) 159,865
Effect of exchange rate on cash, cash equivalents, and restricted cash (8,372) 1,312
Net increase (decrease) in cash, cash equivalents, and restricted cash (711,902) 55,841
Cash, cash equivalents, and restricted cash at beginning of period 1,348,845 1,528,259
Cash, cash equivalents, and restricted cash at end of period 636,943 1,584,100
Supplemental disclosure of non-cash activities:    
Right-of-use assets from new lease agreements 0 58,352
Capital expenditures included in accounts payable and accrued expenses 10,847 15,874
Supplemental disclosure of cash flow information:    
Cash interest payments, net of amounts capitalized 6,566 6,654
Cash paid for income taxes $ 0 $ 15,451