XML 39 R8.htm IDEA: XBRL DOCUMENT v3.24.0.1
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2023
Dec. 31, 2022
Dec. 31, 2021
Cash flows from operating activities:      
Consolidated net loss $ (1,158,937) $ (934,141) $ (503,480)
Adjustments to reconcile net loss including noncontrolling interests to net cash and cash equivalents provided by operations:      
Depreciation and amortization 208,142 130,083 75,622
Stock-based compensation expense 867,967 589,498 341,942
Operating lease non-cash expense 97,063 69,100 43,794
(Accretion)/amortization on marketable securities, net (73,162) 0 0
Amortization of debt issuance costs 1,316 1,261 216
Impairment expense, (gain)/loss on investment and other asset sales, and other, net 8,969 361 680
Changes in operating assets and liabilities, net of effect of acquisitions:      
Accounts receivable (126,172) (72,479) (61,044)
Accounts payable (3,475) 10,302 23,369
Prepaid expenses and other current assets (12,770) (33,769) (13,593)
Other assets (5,961) (1,221) (1,367)
Developer exchange liability 83,162 67,798 82,994
Accrued expenses and other current liabilities 8,680 19,560 58,809
Other long-term liability 11,397 10,159 (1,189)
Operating lease liabilities (50,454) (47,875) (34,743)
Deferred revenue 742,294 662,378 819,927
Deferred cost of revenue (139,879) (101,719) (172,828)
Net cash and cash equivalents provided by operating activities 458,180 369,296 659,109
Cash flows from investing activities:      
Acquisition of property and equipment (320,667) (426,163) (93,273)
Payments related to business combination, net of cash acquired (3,859) (13,388) (45,692)
Purchases of intangible assets (13,500) (1,500) (7,856)
Purchases of investments (4,591,974) 0 0
Maturities of investments 1,642,719 0 0
Sales of investments 462,182 0 0
Net cash and cash equivalents used in investing activities (2,825,099) (441,051) (146,821)
Cash flows from financing activities:      
Proceeds from issuance of common stock 53,226 45,752 76,177
Net proceeds from issuance of preferred stock 0 0 534,286
Payment of withholding taxes related to net share settlement of restricted stock units 0 (150) 0
Proceeds from debt issuances 14,700 0 990,000
Payment of debt issuance costs 0 (154) (2,339)
Payments related to business combination, after acquisition date (750) (150) 0
Other financing activities 0 (1,656) 0
Net cash and cash equivalents provided by financing activities 67,176 43,642 1,598,124
Effect of exchange rate changes on cash and cash equivalents 735 1,287 (55)
Net increase/(decrease) in cash and cash equivalents (2,299,008) (26,826) 2,110,357
Cash and cash equivalents      
Beginning balance 2,977,474 3,004,300 893,943
Ending balance 678,466 2,977,474 3,004,300
Supplemental disclosure of cash flow information:      
Cash paid for interest 38,750 38,965 0
Cash paid for income taxes, net 3,145 953 0
Supplemental disclosure of noncash investing and financing activities:      
Property and equipment additions in accounts payable and accrued expenses and other current liabilities 31,340 57,199 50,388
Intangible asset purchases in accounts payable 1,200 0 0
Fair value of unregistered restricted stock awards issued as consideration for a business combination 0 10,138 31,274
Conversion of convertible preferred stock to common stock upon direct listing 0 0 879,113
Unpaid debt issuance costs $ 0 $ 0 $ 154