XML 16 R7.htm IDEA: XBRL DOCUMENT v3.23.3
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2023
Sep. 30, 2022
Cash flows from operating activities:    
Net income (loss) $ (12,311) $ 29,981
Adjustments to reconcile net (loss) income to net cash provided by (used in) operating activities:    
Depreciation and amortization 7,601 6,023
(Recovery from) allowance for doubtful accounts (71) 893
Stock-based compensation expense 15,938 11,014
Non-cash provision for restructuring 4,879 495
Non-cash interest expense 447 367
Loss on disposal of fixed assets 0 548
Unrealized foreign currency transaction losses (gains) 868 (2,769)
Provision for (benefit from) deferred taxes 134 1,238
Changes in operating assets and liabilities:    
Accounts receivable 20,566 20,896
Inventories (7,610) (2,071)
Prepaid expenses and other assets (6,839) (5,624)
Accounts payable (6,376) 8,050
Accrued expenses, compensation and benefits and other liabilities (8,268) (17,257)
Income taxes payable (38) (841)
Deferred revenue and contract assets (36,735) (25,380)
Net cash (used in) provided by operating activities (27,815) 25,563
Cash flows from investing activities:    
Purchases of property and equipment (13,798) (11,067)
Net cash used in investing activities (13,798) (11,067)
Proceeds from revolving line of credit 40,000 19,000
Cash flows from financing activities:    
Repayment of debt principal (5,150) (4,515)
Payments for repurchase of common stock (572) (40,929)
Common stock repurchases for tax withholdings for net settlement of equity awards (7,449) (11,878)
Payments for credit facility issuance costs 0 (440)
Net cash (used in) provided by financing activities 27,315 (38,294)
Effect of exchange rate changes on cash, cash equivalents and restricted cash (1,523) (1,809)
Net decrease in cash, cash equivalents and restricted cash (15,821) (25,607)
Cash, cash equivalents and restricted cash at beginning of period 38,852 60,556
Cash, cash equivalents and restricted cash at end of period 23,031 34,949
Supplemental information:    
Cash and cash equivalents 20,963 31,344
Restricted cash 926 2,413
Restricted cash included in other long-term assets 1,142 1,192
Total cash, cash equivalents and restricted cash shown in the statement of cash flows 23,031 34,949
Cash paid for income taxes 1,119 1,551
Cash paid for interest 11,327 3,095
Proceeds from the issuance of common stock under employee stock plans $ 486 $ 468