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 $ (371,094) $ (520,379) $ (1,166,391)
Adjustments to reconcile net loss to net cash provided by (used in) operating activities:      
Depreciation and amortization 22,522 14,897 13,871
Stock-based compensation 564,798 778,215 1,270,702
Deferred income taxes (174) 43,316 (20,385)
Non-cash operating lease expense 40,309 33,821 35,049
Unrealized and realized (gain) loss from marketable securities, net 272,108 73,311 0
Gain from step acquisition (44,306) 0 0
Other operating activities 6,677 2,722 4,280
Changes in operating assets and liabilities, net of effect of acquisitions:      
Accounts receivable, net (77,519) (35,237) (108,476)
Prepaid expenses and other current assets (25,997) (10,929) (18,565)
Other assets 6,033 (3,345) (8,605)
Accounts payable (29,859) 57,767 (34,681)
Accrued liabilities 5,527 15,245 38,505
Deferred revenue, current and noncurrent (61,154) 24,732 (30,905)
Customer deposits, current and noncurrent (49,471) (104,944) (230,873)
Operating lease liabilities, current and noncurrent (34,590) (32,156) (43,639)
Other noncurrent liabilities (73) (3,185) 3,505
Net cash provided by (used in) operating activities 223,737 333,851 (296,608)
Investing activities      
Purchases of property and equipment (40,027) (12,627) (12,236)
Purchases of marketable securities (124,500) (308,315) 0
Proceeds from sales and redemption of marketable securities 52,319 851 0
Business combinations, net of cash acquired 66,708 0 0
Purchases of alternative investments 0 (50,941) 0
Purchases of privately-held securities 0 (23,009) 0
Other investing activities 73 (3,871) (2,684)
Net cash used in investing activities (45,427) (397,912) (14,920)
Financing activities      
Proceeds from the issuance of common stock, net of issuance costs 0 0 942,529
Proceeds from issuance of debt, net of borrowing costs 0 0 199,369
Principal payments on borrowings 0 (200,000) (400,000)
Proceeds from the exercise of common stock options 86,089 507,455 298,829
Other financing activities (93) (708) (4,274)
Net cash provided by financing activities 85,996 306,747 1,036,453
Effect of foreign exchange on cash, cash equivalents, and restricted cash (3,885) (3,918) 1,259
Net increase in cash, cash equivalents, and restricted cash 260,421 238,768 726,184
Cash, cash equivalents, and restricted cash - beginning of period 2,366,914 2,128,146 1,401,962
Cash, cash equivalents, and restricted cash - end of period 2,627,335 2,366,914 2,128,146
Supplemental disclosures of cash flow information      
Cash paid for income taxes 2,904 4,131 14,283
Cash paid for interest 5 2,774 11,432
Conversion of redeemable convertible and convertible preferred stock to common stock      
Supplemental disclosures of non-cash investing and financing information:      
Conversion of stock 0 0 2,138,988
Conversion of convertible preferred stock warrants to common stock warrants      
Supplemental disclosures of non-cash investing and financing information:      
Conversion of stock 0 0 31,007
Cashless net exercise of warrants for convertible preferred stock      
Supplemental disclosures of non-cash investing and financing information:      
Conversion of stock $ 0 $ 0 $ 10,810