XML 18 R7.htm IDEA: XBRL DOCUMENT v3.25.2
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2025
Jun. 30, 2024
Cash flows from operating activities    
Net loss $ (53,147) $ (618,304)
Adjustments to reconcile net loss to net cash provided by operating activities:    
Share-based compensation expense 19,169 47,336
Depreciation and amortization expense 48,320 39,393
Deferred tax assets 149 141,032
Operating lease expense, net of accretion 2,019 3,141
Amortization of debt issuance costs 418 1,081
Loss from write-offs of property and equipment 558 1,657
Gain on early extinguishment of debt (7,360) 0
Realized gain on sale of investments (752) 0
Impairment expense 2,000 481,531
Impairment of lease related assets 3,004 2,189
Impairment of strategic equity investment 6,000 0
Loss contingency 7,500 0
Other non-cash items 325 82
Change in assets and liabilities:    
Accounts receivable 6,114 10,561
Prepaid expenses and other current assets (941) (12,173)
Other assets 928 (773)
Accounts payable (6,038) (12,045)
Deferred revenue (5,945) (10,226)
Accrued liabilities (1,113) (4,057)
Other liabilities (1,522) (2,880)
Net cash provided by operating activities 19,686 67,545
Cash flows from investing activities    
Purchases of property and equipment (15,895) (45,817)
Purchases of investments (793) (123,669)
Maturities of investments 107,710 89,890
Proceeds from sale of investments 181,158 0
Proceeds from sale of strategic equity investment 0 15,500
Net cash provided by (used in) investing activities 272,180 (64,096)
Cash flows from financing activities    
Repayment of convertible senior notes (416,492) 0
Payment of taxes related to the net share settlement of equity awards (1,037) (7,825)
Proceeds from common stock issued under stock plans, net 391 2,190
Net cash used in financing activities (417,138) (5,635)
Effect of exchange rate changes 491 (305)
Net decrease in cash, cash equivalents and restricted cash (124,781) (2,491)
Cash, cash equivalents and restricted cash, beginning of period 164,359 137,976
Cash, cash equivalents and restricted cash, end of period 39,578 135,485
Supplemental cash flow data:    
Interest 224 224
Income taxes, net of refunds 1,072 2,729
Cash paid for amounts included in the measurement of lease liabilities:    
Operating cash flows from operating leases 3,775 4,346
Right of use assets obtained in exchange for lease obligations:    
Operating leases 1,636 663
Non-cash investing and financing activities:    
Accrued purchases of long-lived assets $ 3,050 $ 5,016