XML 16 R7.htm IDEA: XBRL DOCUMENT v3.22.2
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2022
Jun. 30, 2021
Cash flows from operating activities:    
Net income (loss) $ 17,959 $ 11,397
Adjustments to reconcile net (loss) income to net cash provided by (used in) operating activities:    
Depreciation and amortization 3,869 4,321
Allowance for doubtful accounts 222 270
Stock-based compensation expense 7,067 6,702
Non-cash provision for restructuring 338 927
Non-cash interest expense 247 257
Loss (gain) on extinguishment of debt 0 2,579
Loss on disposal of fixed assets 548 0
Unrealized foreign currency transaction gains (1,729) (1,468)
Provision for (benefit from) deferred taxes 1,610 547
Changes in operating assets and liabilities:    
Accounts receivable 22,945 19,599
Inventories 672 2,326
Prepaid expenses and other assets (5,664) (2,629)
Accounts payable 6,044 (48)
Accrued expenses, compensation and benefits and other liabilities (16,105) (14,942)
Income taxes payable (776) (16)
Deferred revenue and contract assets (22,026) (10,924)
Net cash provided by operating activities 15,221 18,898
Cash flows from investing activities:    
Purchases of property and equipment (7,359) (2,275)
Net cash used in investing activities (7,359) (2,275)
Cash flows from financing activities:    
Proceeds from revolving credit facility 19,000 0
Proceeds from long-term debt 0 180,000
Repayment of debt (2,288) (205,824)
Payments for repurchase of common stock (25,262) 0
Proceeds from the issuance of common stock under employee stock plans 468 363
Common stock repurchases for tax withholdings for net settlement of equity awards (10,885) (14,038)
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,407) (43,242)
Effect of exchange rate changes on cash, cash equivalents and restricted cash (941) 56
Net decrease in cash, cash equivalents and restricted cash (12,486) (26,563)
Cash, cash equivalents and restricted cash at beginning of period 60,556 83,638
Cash, cash equivalents and restricted cash at end of period 48,070 57,075
Supplemental information:    
Cash and cash equivalents 44,332 53,337
Restricted cash 2,413 1,422
Restricted cash included in other long-term assets 1,325 2,316
Total cash, cash equivalents and restricted cash shown in the statement of cash flows 48,070 57,075
Cash paid for income taxes 1,293 336
Cash paid for interest $ 1,542 $ 1,308