XML 23 R8.htm IDEA: XBRL DOCUMENT v3.24.0.1
Consolidated Statements of Cash Flows - USD ($)
12 Months Ended
Dec. 31, 2023
Dec. 31, 2022
Dec. 31, 2021
CASH FLOWS FROM OPERATING ACTIVITIES:      
Net loss $ (1,015,441,000) $ (1,256,145,000) $ (949,900,000)
Adjustments to reconcile net loss to net cash provided by (used in) operating activities:      
Depreciation and amortization 284,413,000 279,127,000 258,378,000
Non-cash reduction to the right-of-use asset 26,971,000 47,160,000 48,786,000
Net amortization of investment premium and discount (44,000) 33,165,000 36,158,000
Impairment of long-lived assets 320,504,000 97,722,000 0
Stock-based compensation including restructuring 675,857,000 798,560,000 632,285,000
Amortization of deferred commissions 72,892,000 57,913,000 31,541,000
Realized and unrealized losses on equity securities 8,043,000 0 0
Provision for doubtful accounts 51,859,000 35,012,000 7,210,000
Value of shares of Class A common stock issued and donated to charity 5,346,000 9,541,000 31,169,000
Share of losses from equity method investment 121,897,000 35,315,000 0
Impairment of strategic investments 46,154,000 0 0
Loss on net assets divested 32,277,000 0 0
Loss on extinguishment of debt 0 0 28,965,000
Other adjustments 14,669,000 4,905,000 2,329,000
Changes in operating assets and liabilities:      
Accounts receivable (85,093,000) (194,655,000) (117,943,000)
Prepaid expenses and other current assets (56,283,000) (94,326,000) (78,012,000)
Other long-term assets (2,328,000) (146,458,000) (121,225,000)
Accounts payable 12,370,000 30,336,000 10,191,000
Accrued expenses and other current liabilities (51,816,000) 75,430,000 127,554,000
Deferred revenue and customer deposits 5,371,000 (2,688,000) 45,634,000
Operating lease liabilities (56,340,000) (54,450,000) (49,046,000)
Other long-term liabilities 3,474,000 (9,832,000) (2,266,000)
Net cash provided by (used in) operating activities 414,752,000 (254,368,000) (58,192,000)
CASH FLOWS FROM INVESTING ACTIVITIES:      
Acquisitions, net of cash acquired and payments related to prior period acquisitions (5,770,000) (37,410,000) (491,522,000)
Divestitures, net of cash divested 38,194,000 0 0
Purchases of marketable securities and other investments (1,953,003,000) (1,938,337,000) (3,523,232,000)
Proceeds from sales and maturities of marketable securities 2,200,417,000 1,439,477,000 1,614,779,000
Capitalized software development costs (39,925,000) (45,761,000) (43,973,000)
Purchases of long-lived and intangible assets (11,310,000) (34,421,000) (46,048,000)
Net cash provided by (used in) investing activities 228,603,000 (616,452,000) (2,489,996,000)
CASH FLOWS FROM FINANCING ACTIVITIES:      
Proceeds from public offerings, net of underwriters' discounts 0 0 1,766,400,000
Payments of costs related to public offerings 0 (35,000) (687,000)
Proceeds from issuance of senior notes due 2029 and 2031, net of issuance costs 0 0 984,723,000
Proceeds from settlements of capped call, net of settlement costs 0 0 228,412,000
Principal payments on debt and finance leases (16,134,000) (13,423,000) (8,295,000)
Value of equity awards withheld for tax liabilities (2,565,000) (1,098,000) (10,388,000)
Repurchases of shares of Class A common stock and related costs (668,751,000) 0 0
Proceeds from exercises of stock options and shares of Class A common stock issued under ESPP 43,840,000 59,563,000 136,160,000
Net cash (used in) provided by financing activities (643,610,000) 45,007,000 3,096,325,000
Effect of exchange rate changes on cash, cash equivalents and restricted cash 108,000 60,000 (191,000)
NET (DECREASE) INCREASE IN CASH, CASH EQUIVALENTS AND RESTRICTED CASH (147,000) (825,753,000) 547,946,000
CASH, CASH EQUIVALENTS AND RESTRICTED CASH—Beginning of period 656,078,000 1,481,831,000 933,885,000
CASH, CASH EQUIVALENTS AND RESTRICTED CASH —End of period 655,931,000 656,078,000 1,481,831,000
Cash paid for income taxes, net 37,818,000 7,413,000 6,147,000
Cash paid for interest 38,389,000 37,500,000 20,637,000
NON-CASH FINANCING ACTIVITIES:      
Value of common stock issued and equity awards assumed in acquisition 0 0 420,681,000
Value of common stock issued to settle convertible senior notes due 2023 0 0 1,704,969,000
RECONCILIATION OF CASH, CASH EQUIVALENTS AND RESTRICTED CASH TO THE CONDENSED CONSOLIDATED BALANCE SHEETS      
Cash and cash equivalents 655,931,000 651,752,000 1,479,452,000
Restricted cash in other current assets 0 4,314,000 1,536,000
Restricted cash in other long-term assets 0 12,000 843,000
Total cash, cash equivalents and restricted cash $ 655,931,000 $ 656,078,000 $ 1,481,831,000