v3.26.3
Condensed Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2026
Sep. 30, 2025
Operating activities    
Net income (loss) $ 3,237 $ (63,179)
Adjustments to reconcile net income (loss) to net cash provided by operating activities    
Stock-based compensation 172,349 160,023
Depreciation and amortization 93,492 83,288
Accretion of discounts on marketable debt securities, net (2,102) (6,163)
Abandonment of long-lived assets 3,652 2,868
Convertible note interest 673 0
Gain on lease modifications (5,775) 0
Noncash operating lease expense 5,486 4,311
Unrealized foreign currency loss (gain), net 3,008 (1,522)
Deferred income taxes (6,212) 2,191
Provision for (benefit from) credit losses 151 (1,084)
(Increase) decrease in fair value of strategic investments (6,659) 237
Changes in operating assets and liabilities, net of effect of asset acquisitions and business combinations    
Accounts receivable 38,451 42,611
Deferred contract cost assets (24,430) (31,767)
Prepaid expenses and other assets (24,440) (16,499)
Accounts payable 18,215 (4,191)
Accrued expenses and other liabilities 4,667 30,168
Deferred revenue (10,969) (15,313)
Operating lease liabilities (2,472) (651)
Net cash provided by operating activities 260,322 185,328
Investing activities    
Purchases of property and equipment (14,090) (12,400)
Capitalized software development costs (52,668) (47,900)
Purchases of strategic investments (1,715) (1,641)
Sales of strategic investments 455 0
Purchases of marketable securities 0 (277,813)
Maturities of marketable securities 150,375 287,024
Sales of marketable securities 106,731 2,698
Business combinations, net of cash acquired (949,356) (41,515)
Asset acquisitions, net of cash acquired 0 (3,533)
Net cash used in investing activities (760,268) (95,080)
Financing activities    
Proceeds from stock option exercises 6,752 8,779
Proceeds from employee stock purchase plan 13,007 14,404
Repurchases of common stock (275,035) (128,815)
Proceeds from issuance of convertible notes 950,000 0
Payment of capped call transactions (59,090) 0
Payment of debt issuance costs (22,734) 0
Payment of tax withholding for net share settlement (49,224) (71,173)
Payment of deferred asset acquisition consideration (600) 0
Principal payments under finance lease agreements, net of proceeds from lease incentives (746) (1,216)
Net increase in funds held for customers 18,584 6,251
Net cash provided by (used in) financing activities 580,914 (171,770)
Net increase (decrease) in cash and cash equivalents 80,968 (81,522)
Effect of exchange rate changes on cash (3,083) 1,160
Cash, cash equivalents, and restricted cash, beginning of period 490,246 437,722
Cash, cash equivalents, and restricted cash, end of period 568,131 357,360
Reconciliation of cash, cash equivalents, and restricted cash to the condensed consolidated balance sheets    
Cash and cash equivalents at end of period 540,017 350,496
Restricted cash included in prepaid expenses and other current assets at end of period 579 613
Restricted cash for funds held for customers included in prepaid expenses and other current assets at end of period 27,535 6,251
Total cash, cash equivalents, and restricted cash at end of period shown in the condensed consolidated statements of cash flows 568,131 357,360
Supplemental disclosure of cash flow information    
Cash paid for interest other than finance leases 8 17
Cash paid for income taxes, net of refunds received 4,271 3,686
Stock-based compensation capitalized for cloud-computing arrangement costs 422 150
Cash received for lease incentives 3,466 3,798
Operating cash flows from finance leases 445 840
Operating cash flows from operating leases 10,913 6,344
Financing cash flows from finance leases 746 1,216
Noncash investing and financing activities:    
Purchases of property and equipment included in accounts payable and accrued expenses at period end 6,021 1,678
Capitalized software development costs included in accounts payable and accrued expenses at period end 4,566 4,203
Business combination costs included in other current liabilities at period end 4,576 0
Stock-based compensation capitalized for software development 12,774 14,417
Deferred asset acquisition payments included in other current liabilities and accrued expenses at period end 0 600
Excise taxes related to repurchases of common stock included in other current liabilities at period end 1,493 0
Right of use assets obtained or modified in exchange for operating lease liabilities 19,917 7,422
Financing lease right of use asset modified to operating lease $ (18,835) $ (10,305)