v3.26.1
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Cash flows from operating activities:    
Net loss $ (36,115) $ (76,689)
Adjustments to reconcile net loss to net cash provided by operating activities:    
Depreciation expense 24,612 30,129
Amortization of intangible assets 4,539 9,778
Non-cash lease expense 13,085 11,349
Amortization of debt discount and issuance costs 767 434
Amortization of deferred contract costs 9,491 9,697
Stock-based compensation 70,153 51,917
Deferred income taxes (4,353) 749
Provision for credit losses 2,532 1,994
Loss (gain) on disposals of property and equipment 267 (43)
Accretion of discounts and amortization of premiums, net (1,817) (1,982)
Impairment expense 0 415
Non-cash interest expense 969 969
Other adjustments (275) 292
Changes in operating assets and liabilities:    
Accounts receivable, net 1,281 (3,324)
Prepaid expenses and other current assets (412) 2,337
Other assets (1,845) (8,171)
Accounts payable 8,309 6,021
Accrued expenses 872 (1,806)
Operating lease liabilities (12,923) (7,888)
Other liabilities (10,937) 16,908
Net cash provided by operating activities 68,200 43,086
Cash flows from investing activities:    
Purchases of marketable securities (266,602) (272,926)
Maturities of marketable securities 201,472 45,805
Purchases of property and equipment (52,644) (12,457)
Proceeds from sale of property and equipment 10 44
Capitalized internal-use software (7,884) (9,305)
Net cash used in investing activities (125,648) (248,839)
Cash flows from financing activities:    
Repayment of convertible senior notes (38,593) 0
Payments of other debt issuance costs (502) 0
Repayments of finance lease liabilities 0 (2,248)
Proceeds from exercise of vested stock options 1,135 687
Proceeds from employee stock purchase plan 4,676 3,371
Net cash (used in) provided by financing activities (33,284) 1,810
Effects of exchange rate changes on cash and cash equivalents (33) 255
Net decrease in cash and cash equivalents (90,765) (203,688)
Cash and cash equivalents at beginning of period 180,563 286,175
Cash and cash equivalents at end of period 89,798 82,487
Supplemental disclosure of cash flow information:    
Cash paid for interest 5,925 5,733
Cash paid for income taxes, net of refunds received 597 745
Cash paid for finance lease interest 0 15
Noncash investing and financing activities:    
Property and equipment additions not yet paid in cash or financed 2,416 2,193
Capitalized stock-based compensation 3,238 3,487
Assets obtained in exchange for operating lease obligations 14,858 2,946
Net non-cash change in operating lease assets and liabilities associated with modifications and terminations 4,374 11,223
Deployments of prepaid capital equipment $ 0 $ 6,498