v3.23.1
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS (unaudited) - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2023
Mar. 31, 2022
Cash flows from operating activities:    
Net loss $ (516) $ (23,559)
Adjustments to reconcile net loss to net cash from operating activities:    
Amortization of deferred implementation, solution and other costs 6,069 5,722
Depreciation and amortization 17,543 14,919
Amortization of debt issuance costs 618 676
Amortization of premiums on investments (1,097) 312
Stock-based compensation expense 18,086 14,855
Realized (gain) loss on sale of marketable securities 336 0
Deferred income taxes (526) 875
Allowance for credit losses (3) (105)
Allowance for sales credits 8 19
Loss on disposal of long-lived assets (66) (12)
(Gain) loss on extinguishment of debt (19,312) 0
Lease and other restructuring charges 1,301 408
Changes in operating assets and liabilities:    
Accounts receivable, net 6,919 10,464
Prepaid expenses and other current assets (4,638) (12,410)
Deferred solution and other costs (12,190) (3,112)
Deferred implementation costs (3,537) (3,308)
Contract assets, net 622 (1,798)
Other long-term assets 1,443 2,006
Accounts payable 2,218 3,247
Accrued liabilities (13,123) (12,920)
Deferred revenues 6,215 1,666
Deferred rent and other long-term liabilities (2,476) (2,447)
Net cash provided by (used in) operating activities 3,894 (4,502)
Cash flows from investing activities:    
Purchases of investments (42,831) (102,749)
Maturities of investments 127,904 18,097
Purchases of property and equipment (1,032) (3,866)
Capitalized software development costs (6,049) (4,291)
Net cash provided by (used in) investing activities 77,992 (92,809)
Cash flows from financing activities:    
Payment for maturity of 2023 convertible notes (10,908) 0
Payments for repurchases of convertible notes (149,640) 0
Proceeds from capped calls related to convertible notes 139 0
Proceeds from exercise of stock options and ESPP 90 131
Net cash provided by (used in) financing activities (160,319) 131
Effect of exchange rate changes on cash, cash equivalents and restricted cash 60 (119)
Net decrease in cash, cash equivalents, and restricted cash (78,373) (97,299)
Cash, cash equivalents, and restricted cash, beginning of period 201,902 325,821
Cash, cash equivalents, and restricted cash, end of period 123,529 228,522
Supplemental disclosure of non-cash investing and financing activities:    
Property and equipment acquired and included in accounts payable and accrued liabilities 1,886 322
Stock-based compensation for capitalized software development 769 0
Capitalized software development costs included in accounts payable and accrued liabilities $ 468 $ 0