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 income (loss) $ 217,375 $ (371,094) $ (520,379)
Adjustments to reconcile net income (loss) to net cash provided by operating activities:      
Depreciation and amortization 33,354 22,522 14,897
Stock-based compensation 475,903 564,798 778,215
Deferred income taxes (4,806) (174) 43,316
Noncash operating lease expense 47,019 40,309 33,821
Unrealized and realized (gain) loss from marketable securities, net 13,160 272,108 73,311
Noncash consideration (46,609) (15,537) 0
Gain from step acquisition 0 (44,306) 0
Other operating activities (29,449) 16,328 2,767
Changes in operating assets and liabilities, net of effect of acquisitions:      
Accounts receivable, net (106,159) (72,819) (35,237)
Prepaid expenses and other current assets (6,197) (24,811) (10,974)
Other assets 3,242 6,033 (3,345)
Accounts payable (31,832) (29,859) 57,767
Accrued liabilities 52,895 5,527 15,245
Deferred revenue, current and noncurrent 79,512 (61,154) 24,732
Customer deposits, current and noncurrent 64,347 (49,471) (104,944)
Operating lease liabilities, current and noncurrent (49,630) (34,590) (32,156)
Other noncurrent liabilities 58 (73) (3,185)
Net cash provided by operating activities 712,183 223,737 333,851
Investing activities      
Purchases of property and equipment (15,114) (40,027) (12,627)
Purchases of marketable securities (5,636,406) (124,500) (308,315)
Proceeds from sales and redemption of marketable securities 2,889,268 52,319 851
Business combinations, net of cash acquired 0 66,708 0
Purchases of alternative investments 0 0 (50,941)
Proceeds from sales of alternative investments 51,072 0 0
Purchases of privately-held securities 0 0 (23,009)
Other investing activities 0 73 (3,871)
Net cash used in investing activities (2,711,180) (45,427) (397,912)
Financing activities      
Principal payments on borrowings 0 0 (200,000)
Proceeds from the exercise of common stock options 218,238 86,089 507,455
Other financing activities 601 (93) (708)
Net cash provided by financing activities 218,839 85,996 306,747
Effect of foreign exchange on cash, cash equivalents, and restricted cash 2,930 (3,885) (3,918)
Net increase (decrease) in cash, cash equivalents, and restricted cash (1,777,228) 260,421 238,768
Cash, cash equivalents, and restricted cash - beginning of period 2,627,335 2,366,914 2,128,146
Cash, cash equivalents, and restricted cash - end of period 850,107 2,627,335 2,366,914
Supplemental disclosures of cash flow information      
Cash paid for income taxes $ 13,515 $ 2,904 $ 4,131