XML 18 R7.htm IDEA: XBRL DOCUMENT v3.24.2.u1
Condensed Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2024
Jun. 30, 2023
Cash flows from operating activities:    
Net income (loss) $ 10,453 $ (92,697)
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation and amortization 22,219 22,879
Amortization of debt issuance costs 2,108 2,020
Stock-based compensation expense 52,302 61,068
Impairment of long-lived assets 0 27,231
Change in fair value of derivative assets 0 12,660
Deferred income taxes 1,840 0
Other (1,352) 4,423
Changes in assets and liabilities:    
Accounts receivable 19,990 15,110
Deferred contract acquisition and fulfillment costs (1,964) (5,963)
Prepaid expenses and other assets 430 1,400
Accounts payable (3,021) (1,282)
Accrued expenses (18,391) (11,968)
Deferred revenue (23,346) 1,783
Other liabilities 2,660 483
Net cash provided by operating activities 63,928 37,147
Cash flows from investing activities:    
Business acquisitions, net of cash acquired 0 (34,841)
Purchases of property and equipment (900) (3,704)
Capitalization of internal-use software (6,289) (9,081)
Purchases of investments (157,967) (80,257)
Sales and maturities of investments 130,001 65,700
Other investing activities 360 0
Net cash used in investing activities (34,795) (62,183)
Cash flows from financing activities:    
Payments related to business acquisitions 0 (2,250)
Taxes paid related to net share settlement of equity awards (3,089) (2,591)
Proceeds from employee stock purchase plan 5,046 6,174
Proceeds from stock option exercises 1,404 2,682
Net cash provided by financing activities 3,361 4,015
Effect of exchange rate changes on cash ,cash equivalents and restricted cash (2,076) (337)
Net increase (decrease) in cash, cash equivalents and restricted cash 30,418 (21,358)
Cash, cash equivalents and restricted cash, beginning of period 214,130 207,804
Cash, cash equivalents and restricted cash, end of period 244,548 186,446
Supplemental cash flow information:    
Cash paid for interest on convertible senior notes 3,215 3,337
Cash paid for income taxes, net of refunds 5,505 1,221
Reconciliation of cash, cash equivalents and restricted cash:    
Cash and cash equivalents 236,975 185,929
Restricted cash included in other assets and prepaid expenses and other current assets 7,573 517
Total cash, cash equivalents and restricted cash $ 244,548 $ 186,446