v3.24.2
Condensed Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2024
Jun. 30, 2023
Operating activities    
Net income (loss) $ 3,373 $ (30,782)
Adjustments to reconcile net income (loss) to net cash provided by operating activities:    
Depreciation and amortization 6,589 4,462
Stock-based compensation 21,256 28,828
Provision for expected credit losses 3,265 1,079
Non-cash lease expense 1,320 1,436
Loss on disposal of assets 0 38
Non-cash impairment charges 1,079 0
Other non-cash operating activities, net (1,221) (1,553)
Changes in operating assets and liabilities:    
Accounts receivable 6,800 (9,101)
Contract assets (628) (207)
Prepaid expenses and other current and noncurrent assets (7,827) 620
Deferred contract costs (369) (1,954)
Accounts payable 1,904 5,476
Accrued expenses and other current liabilities (10,596) 12,069
Operating lease liabilities (1,400) (1,557)
Unearned revenue 722 393
Other liabilities, noncurrent (109) 19
Net cash provided by operating activities 24,158 9,266
Investing activities    
Purchases of property and equipment (367) 0
Capitalized internal-use software (6,831) (7,279)
Purchases of investments (60,498) (72,941)
Sales and maturities of investments 54,064 62,262
Net cash used in investing activities (13,632) (17,958)
Financing activities    
Cash received for employee payroll tax withholdings 3,316 3,039
Cash paid for employee payroll tax withholdings (3,282) (3,105)
Proceeds from exercise of stock options and purchases under employee stock purchase plan 2,842 6,803
Repurchase of common stock (22,181) (30,099)
Net cash used in financing activities (19,305) (23,362)
Net decrease in cash and cash equivalents (8,779) (32,054)
Cash and cash equivalents, beginning of period 278,218 350,073
Cash and cash equivalents, end of period 269,439 318,019
Supplemental disclosure of non-cash investing and financing activities    
Vesting of early exercised stock options 0 97
Employee receivables for options exercised 46 26
Purchase of property and equipment 0 0
Capitalization of stock-based compensation for internal-use software $ 1,617 $ 2,129