v3.26.1
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2026
Mar. 31, 2025
Cash flows from operating activities    
Net income (loss) $ 228 $ (17,484)
Adjustments to reconcile net income (loss) to net cash provided by operating activities:    
Share-based compensation expense 2,711 11,257
Depreciation and amortization expense 13,947 32,094
Deferred tax assets (95) 15
Operating lease expense, net of accretion 545 1,089
Amortization of debt issuance costs 31 377
Loss from write-offs of property and equipment 49 2,287
Gain on early extinguishment of debt (523) (7,360)
Realized gain on sale of investments (5) (752)
Other non-cash items (159) (28)
Change in assets and liabilities:    
Accounts receivable (2,338) (4,693)
Prepaid expenses and other current assets 6,018 5,880
Other assets (268) 518
Accounts payable 3,599 1,535
Deferred revenue (608) 5,437
Accrued liabilities (18,186) (4,894)
Other liabilities (841) (752)
Net cash provided by operating activities 4,105 24,526
Cash flows from investing activities    
Purchases of property and equipment (1,042) (8,665)
Purchases of investments 0 (793)
Maturities of investments 13,477 103,214
Proceeds from sale of investments 5,679 181,158
Net cash provided by investing activities 18,114 274,914
Cash flows from financing activities    
Payment of taxes related to the net share settlement of equity awards (597) (469)
Repayment of convertible senior notes (19,450) (416,492)
Net cash used in financing activities (20,047) (416,961)
Effect of exchange rate changes (418) 218
Net increase (decrease) in cash, cash equivalents and restricted cash 1,754 (117,303)
Cash, cash equivalents and restricted cash, beginning of period 33,411 164,359
Cash, cash equivalents and restricted cash, end of period 35,165 47,056
Supplemental cash flow data:    
Interest 0 224
Income taxes, net of refunds 243 1,227
Cash paid for amounts included in the measurement of lease liabilities:    
Operating cash flows from operating leases 1,359 2,221
Right of use assets obtained in exchange for lease obligations:    
Operating leases 0 258
Non-cash investing and financing activities:    
Accrued purchases of long-lived assets 1,957 4,265
Reconciliation of cash, cash equivalents and restricted cash:    
Cash and cash equivalents 33,526 44,105
Restricted cash included in other current assets 0 1,036
Restricted cash included in other assets 1,639 1,915
Total cash, cash equivalents and restricted cash $ 35,165 $ 47,056