XML 16 R7.htm IDEA: XBRL DOCUMENT v3.22.2.2
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2022
Sep. 30, 2021
Cash flows from operating activities:    
Net income (loss) $ 29,981 $ 26,172
Adjustments to reconcile net (loss) income to net cash provided by (used in) operating activities:    
Depreciation and amortization 6,023 6,323
Allowance for doubtful accounts 893 401
Stock-based compensation expense 11,014 10,216
Non-cash provision for restructuring 495 841
Non-cash interest expense 367 386
Loss (gain) on extinguishment of debt 0 2,579
Loss on disposal of fixed assets 548 0
Unrealized foreign currency transaction gains (2,769) (1,400)
Provision for (benefit from) deferred taxes 1,238 1,388
Changes in operating assets and liabilities:    
Accounts receivable 20,896 20,089
Inventories (2,071) 4,353
Prepaid expenses and other assets (5,624) (1,343)
Accounts payable 8,050 590
Accrued expenses, compensation and benefits and other liabilities (17,257) (10,635)
Income taxes payable (841) (217)
Deferred revenue and contract assets (25,380) (16,525)
Net cash provided by operating activities 25,563 35,418
Cash flows from investing activities:    
Purchases of property and equipment (11,067) (4,750)
Net cash used in investing activities (11,067) (4,750)
Cash flows from financing activities:    
Proceeds from revolving credit facility 19,000 0
Proceeds from long-term debt 0 180,000
Repayment of debt (4,515) (208,142)
Payments for repurchase of common stock (40,929) (10,526)
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 (11,878) (17,108)
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 (38,294) (59,156)
Effect of exchange rate changes on cash, cash equivalents and restricted cash (1,809) (927)
Net decrease in cash, cash equivalents and restricted cash (25,607) (29,415)
Cash, cash equivalents and restricted cash at beginning of period 60,556 83,638
Cash, cash equivalents and restricted cash at end of period 34,949 54,223
Supplemental information:    
Cash and cash equivalents 31,344 50,485
Restricted cash 2,413 1,422
Restricted cash included in other long-term assets 1,192 2,316
Total cash, cash equivalents and restricted cash shown in the statement of cash flows 34,949 54,223
Cash paid for income taxes 1,551 706
Cash paid for interest 3,095 6,354
Gain (Loss) on Forgiveness of Debt $ 0 $ (7,800)