v3.24.1.u1
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2024
Mar. 31, 2023
Cash flows from operating activities    
Net loss $ (11,687) $ (46,150)
Adjustments to reconcile net loss to net cash provided by operating activities:    
Depreciation and amortization 2,522 2,800
Stock-based compensation expense 23,007 38,042
(Recovery of) provision for doubtful accounts (123) 106
Realized loss on sale of available-for-sale securities, net 0 561
Amortization of premiums and discounts on marketable securities, net (3,749) (1,028)
Amortization of issuance costs and debt discount 608 325
Deferred income tax (295) (10)
Changes in assets and liabilities:    
Accounts receivable 36,947 29,363
Deferred costs 1,405 1,770
Operating lease right-of-use asset 1,426 1,295
Other receivables 194 95
Prepaid expenses and other (2,273) (5,732)
Other assets (1,090) (74)
Accounts payable 4,726 207
Deferred revenue (17,526) (9,955)
Operating lease liability (987) (1,172)
Accrued expenses and other liabilities (8,261) (4,880)
Net cash provided by operating activities 24,844 5,563
Cash flows from investing activities    
Purchase of property and equipment (203) (198)
Purchase of marketable securities (116,567) (125,815)
Sale of marketable securities 4,609 43,713
Maturities of marketable securities 129,640 31,905
Purchase of intangible assets (31) (79)
Net cash provided by (used in) investing activities 17,448 (50,474)
Cash flows from financing activities    
Proceeds from option exercises 302 1,457
Taxes paid related to net share settlements of stock-based compensation awards (8,611) (7,228)
Proceeds from shares issued in connection with employee stock purchase plan 7,113 5,546
Principal payments on finance lease obligations (129) (124)
Net cash used in financing activities (1,325) (349)
Effect of foreign exchange rates on cash (1,107) 548
Net increase (decrease) in cash, cash equivalents and restricted cash 39,860 (44,712)
Cash, cash equivalents and restricted cash at beginning of period 256,721 240,197
Cash, cash equivalents and restricted cash at end of period 296,581 195,485
Supplemental cash flow disclosure    
Cash paid for interest 4,906 2,146
Cash paid for income taxes, net of refunds 952 323
Reconciliation of cash, cash equivalents, and restricted cash to the consolidated balance sheets    
Cash and cash equivalents at end of period 296,066 195,485
Restricted cash included within prepaid expenses and other at end of period 515 0
Total cash, cash equivalents, and restricted cash at end of period shown in the consolidated statements of cash flows $ 296,581 $ 195,485