v3.24.2.u1
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2024
Jun. 30, 2023
Cash Flows from Operating Activities    
Net income (loss) $ (37,534) $ (33,782)
Adjustments to reconcile net income (loss) to net cash provided by (used in) operating activities:    
Depreciation and amortization 16,682 7,320
Stock-based compensation expense, net of amounts capitalized 29,794 23,407
Provision for bad debt 5,055 5,807
Other non-cash, net 119 (575)
Changes in operating assets and liabilities, net of effects from purchases of businesses:    
Trade receivables (19,158) 27,102
Other operating assets 3,036 1,622
Accounts payable 37,641 (9,075)
Other operating liabilities 11,856 1,530
Net cash provided by (used in) operating activities 47,491 23,356
Cash Flows from Investing Activities    
Net increase in finance receivables (1,851) (22,265)
Purchases of property and equipment (2,872) (880)
Capitalization of software costs (14,855) (12,826)
Purchases of marketable securities (21,607) (88,058)
Maturities and redemptions of marketable securities 69,699 74,490
Sales of marketable securities 122,698 2,402
Acquisition of businesses (net of cash acquired) (155,209) (12,000)
Net cash provided by (used in) investing activities (3,997) (59,137)
Cash Flows from Financing Activities    
Proceeds from long term debt 340,000 200,000
Payments towards long term debt (345,000) (170,500)
Payment of debt issuance costs (1,702) 0
Proceeds from exercise of stock options 6,812 2,774
Payment of RSU tax withholdings in exchange for common shares surrendered by RSU holders (13,110) (6,635)
Proceeds from employee stock purchase plan 1,998 1,330
Other financing activities (23) 0
Net cash provided by (used in) financing activities (11,025) 26,969
Effect of exchange rate changes on cash, cash equivalents, and restricted cash (68) 7
Net increase (decrease) in cash, cash equivalents, and restricted cash 32,401 (8,805)
Cash, cash equivalents, and restricted cash, beginning of period 182,571 280,752
Cash, cash equivalents, and restricted cash, end of period 214,972 271,947
Non-cash investing and financing activities:    
Stock-based compensation included in capitalized software development costs 2,254 1,483
Purchase of property and equipment and internal use software in accounts payable $ 1,177 $ 1,880

Source