v3.24.0.1
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2023
Dec. 31, 2022
Dec. 31, 2021
Cash Flows from Operating Activities      
Net income (loss) $ (75,261) $ (102,193) $ (78,182)
Adjustments to reconcile net loss to net cash provided by (used in) operating activities:      
Depreciation and amortization 19,285 11,378 8,753
Stock-based compensation expense, net of amounts capitalized 49,648 39,324 23,220
Provision for bad debt 10,923 11,048 4,963
Other non-cash, net (1,464) (57) 656
Changes in operating assets and liabilities, net of effects from purchases of businesses:      
Trade receivables 14,406 47,170 (120,155)
Other operating assets (310) (1,354) (2,657)
Accounts payable (34,612) (73,087) 242,856
Other operating liabilities (500) (7,404) 5,836
Net cash provided by (used in) operating activities (17,885) (75,175) 85,290
Cash Flows from Investing Activities      
Net increase in finance receivables (45,273) (37,982) (36,956)
Purchases of property and equipment (2,330) (3,211) (2,569)
Capitalization of software costs (25,840) (20,185) (11,460)
Purchases of marketable securities (146,032) (269,678) (13,781)
Maturities and redemptions of marketable securities 135,724 66,990 0
Sales of marketable securities 2,402 0 0
Acquisition of businesses (net of cash acquired) (29,623) (18,913) (64,500)
Net cash provided by (used in) investing activities (110,972) (282,979) (129,266)
Cash Flows from Financing Activities      
Proceeds from issuance of common stock in connection with initial public offering, net of underwriting discounts and commissions and other offering costs 0 0 385,736
Proceeds from long term debt 420,000 275,000 5,250
Payments towards long term debt (380,500) (200,000) (9,582)
Payments towards promissory note 0 0 (2,637)
Proceeds from exercise of stock options 4,265 1,210 1,631
Payment for debt issuance and other financing costs 0 0 (1,385)
Payment of RSU tax withholdings in exchange for common shares surrendered by RSU holders (16,025) (5,458) (2,768)
Proceeds from employee stock purchase plan 3,062 2,181 0
Other financing activities, net (169) 0 0
Net cash provided by (used in) financing activities 30,633 72,933 376,245
Effect of exchange rate changes on cash, cash equivalents, and restricted cash 43 (21) 0
Net increase (decrease) in cash, cash equivalents, and restricted cash (98,181) (285,242) 332,269
Cash, cash equivalents, and restricted cash, beginning of period 280,752 565,994 233,725
Cash, cash equivalents, and restricted cash, end of period 182,571 280,752 565,994
Cash paid (received) during the period for:      
Interest expense 989 493 368
Income taxes 715 388 261
Non-cash investing and financing activities:      
Stock-based compensation included in capitalized software development costs 3,383 2,013 472
Purchase of property and equipment and internal use software in accounts payable $ 1,045 $ 1,231 $ 587

Source