XML 17 R7.htm IDEA: XBRL DOCUMENT v3.23.2
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2023
Jun. 30, 2022
Cash flows from operating activities:    
Net income (loss) $ (4,977) $ 17,959
Adjustments to reconcile net (loss) income to net cash provided by (used in) operating activities:    
Depreciation and amortization 4,852 3,869
(Recovery from) allowance for doubtful accounts (30) 222
Stock-based compensation expense 11,035 7,067
Non-cash provision for restructuring 5,462 338
Non-cash interest expense 298 247
Loss on disposal of fixed assets 0 548
Unrealized foreign currency transaction losses (gains) 874 (1,729)
Provision for (benefit from) deferred taxes (498) 1,610
Changes in operating assets and liabilities:    
Accounts receivable 18,200 22,945
Inventories (7,047) 672
Prepaid expenses and other assets (6,525) (5,664)
Accounts payable 5,886 6,044
Accrued expenses, compensation and benefits and other liabilities (5,559) (16,105)
Income taxes payable 80 (776)
Deferred revenue and contract assets (38,228) (22,026)
Net cash (used in) provided by operating activities (16,177) 15,221
Cash flows from investing activities:    
Purchases of property and equipment (10,008) (7,359)
Net cash used in investing activities (10,008) (7,359)
Proceeds from revolving line of credit 35,000 19,000
Cash flows from financing activities:    
Repayment of debt principal (4,841) (2,288)
Payments for repurchase of common stock (572) (25,262)
Common stock repurchases for tax withholdings for net settlement of equity awards (6,525) (10,885)
Payments for credit facility issuance costs 0 (440)
Net cash (used in) provided by financing activities 23,548 (19,407)
Effect of exchange rate changes on cash, cash equivalents and restricted cash (645) (941)
Net decrease in cash, cash equivalents and restricted cash (3,282) (12,486)
Cash, cash equivalents and restricted cash at beginning of period 38,852 60,556
Cash, cash equivalents and restricted cash at end of period 35,570 48,070
Supplemental information:    
Cash and cash equivalents 33,502 44,332
Restricted cash 926 2,413
Restricted cash included in other long-term assets 1,142 1,325
Total cash, cash equivalents and restricted cash shown in the statement of cash flows 35,570 48,070
Cash paid for income taxes 847 1,293
Cash paid for interest 6,809 1,542
Proceeds from the issuance of common stock under employee stock plans $ 486 $ 468