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 $ 509 $ 19,391
Adjustments to reconcile net income to net cash provided by operating activities:    
Stock-based compensation expense 34,165 39,210
Depreciation and amortization 5,947 5,840
Provision (recovery) for bad debts (415) 1,288
Deferred income taxes (859) (8,300)
Non-cash lease expense 1,961 2,102
Amortization and accretion of marketable securities (5,256) (5,800)
Other 1,712 826
Change in operating assets and liabilities:    
Accounts receivable (167) 10,234
Prepaid expenses and other assets (2,790) 2,204
Deferred commissions, net 824 230
Other assets 482 113
Accounts payable (4,324) (8,470)
Accrued expenses and other liabilities (4,842) (14,233)
Accrued interest 0 (155)
Deferred revenue (398) (1,913)
Operating lease liabilities (2,652) (3,114)
Net cash provided by operating activities 23,897 39,453
Cash flows from investing activities    
Purchases of property and equipment (283) (452)
Capitalized internal-use software costs (5,250) (5,218)
Purchases of marketable securities (297,822) (201,768)
Paydowns, maturities, and redemptions of marketable securities 287,994 292,017
Net cash provided by (used in) investing activities (15,361) 84,579
Cash flows from financing activities    
Repurchase of common stock (15,008) (110,884)
Proceeds from exercise of stock options 616 3,010
Payments of tax withholdings on net settlement of equity awards (8,081) (9,096)
Proceeds from issuance of stock under employee stock purchase plan 2,582 4,221
Net cash used in financing activities (19,891) (112,749)
Net increase (decrease) in cash and cash equivalents (11,355) 11,283
Beginning of period 283,043 227,380
End of period $ 271,688 $ 238,663