XML 16 R7.htm IDEA: XBRL DOCUMENT v3.22.1
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2022
Mar. 31, 2021
Cash flows from operating activities:    
Net income (loss) $ 10,586 $ 4,391
Adjustments to reconcile net (loss) income to net cash provided by (used in) operating activities:    
Depreciation and amortization 1,803 2,119
(Recovery) allowance for doubtful accounts (135) 83
Stock-based compensation expense 3,422 3,122
Non-cash provision for restructuring 15 912
Non-cash interest expense 126 129
Loss (gain) on extinguishment of debt 0 2,579
Loss on disposal of fixed assets 548 0
Unrealized foreign currency transaction gains (128) (1,432)
Provision for (benefit from) deferred taxes 1,055 501
Changes in operating assets and liabilities:    
Accounts receivable 19,770 19,702
Inventories 2,105 (1,048)
Prepaid expenses and other assets (2,067) (866)
Accounts payable (5,473) (2,604)
Accrued expenses, compensation and benefits and other liabilities (9,993) (9,887)
Income taxes payable (723) (259)
Deferred revenue and contract assets (12,995) (5,129)
Net cash provided by operating activities 7,916 12,313
Cash flows from investing activities:    
Purchases of property and equipment (3,244) (1,254)
Net cash used in investing activities (3,244) (1,254)
Cash flows from financing activities:    
Proceeds from long-term debt 0 180,000
Repayment of debt 0 (201,208)
Repayment of debt principal (53) (2,346)
Payments for repurchase of common stock (10,562) 0
Common stock repurchases for tax withholdings for net settlement of equity awards (8,936) (7,706)
Prepayment penalty on extinguishment of debt 0 (1,169)
Payments for credit facility issuance costs (440) (2,574)
Net cash (used in) provided by financing activities (19,991) (35,003)
Effect of exchange rate changes on cash, cash equivalents and restricted cash (254) (332)
Net decrease in cash, cash equivalents and restricted cash (15,573) (24,276)
Cash, cash equivalents and restricted cash at beginning of period 60,556 83,638
Cash, cash equivalents and restricted cash at end of period 44,983 59,362
Supplemental information:    
Cash and cash equivalents 41,245 55,624
Restricted cash 2,013 1,422
Restricted cash included in other long-term assets 1,725 2,316
Total cash, cash equivalents and restricted cash shown in the statement of cash flows 44,983 59,362
Cash paid for income taxes 851 281
Cash paid for interest $ 1,176 $ 3,630