XML 34 R8.htm IDEA: XBRL DOCUMENT v3.22.2.2
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2022
Sep. 30, 2021
Operating Activities:    
Net loss $ (475,690) $ (897,467)
Reconciliation of net loss to net cash provided by (used in) operating activities:    
Depreciation and amortization 21,832 8,989
Non-cash stock-based compensation 102,525 151,457
Provision for excess and obsolete inventory 358,075 0
Right-of-use assets expensed, net of credits received 40,187 17,117
Other items, net (25,059) 2,739
Changes in operating assets and liabilities:    
Inventory (426,466) 0
Accounts receivable, prepaid expenses, and other assets 171,325 209,221
Accounts payable, accrued expenses, and other liabilities 90,418 180,708
Deferred revenue (155,268) 992,590
Net cash provided by (used in) operating activities (298,121) 665,354
Investing Activities:    
Purchases of property and equipment (66,033) (41,122)
Internal-use software development costs (4,888) 0
Purchases of marketable securities 0 (2,167)
Proceeds from maturities and sale of marketable securities 0 159,807
Net cash provided by (used in) investing activities (70,921) 116,518
Financing Activities:    
Net proceeds from sales of common stock 179,385 564,859
Net proceeds from the exercise of stock-based awards 67 21,441
Finance lease payments (45,904) (63,876)
Net cash provided by financing activities 133,548 522,424
Effect of exchange rate on cash, cash equivalents, and restricted cash 257 (6,208)
Net increase (decrease) in cash, cash equivalents, and restricted cash (235,237) 1,298,088
Cash, cash equivalents, and restricted cash at beginning of period 1,528,259 648,738
Cash, cash equivalents, and restricted cash at end of period 1,293,022 1,946,826
Supplemental disclosure of non-cash activities:    
Right-of-use assets from new lease agreements 118,262 34,914
Capital expenditures included in accounts payable and accrued expenses 11,984 7,884
Supplemental disclosure of cash flow information:    
Cash interest payments 17,260 17,768
Cash paid for income taxes $ 17,843 $ 6,041