XML 20 R8.htm IDEA: XBRL DOCUMENT v3.22.4
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Cash flows from operating activities:      
Net (loss) income $ 55,241 $ 41,388 $ 11,062
Adjustments to reconcile net (loss) income to net cash provided by (used in) operating activities:      
Depreciation and amortization 8,324 8,254 8,505
(Recovery) provision for doubtful accounts 1,056 694 1,298
(Gain) loss on disposal of fixed assets 0 2,579 0
Stock-based compensation expense 16,555 13,737 10,664
Non-cash provision for restructuring 495 956 5,046
Non-cash interest expense 516 515 3,651
Gain on forgiveness of PPP loan 0 (7,800) 0
Gain (Loss) on Disposition of Other Assets 548 0 0
Unrealized foreign currency transaction losses (gains) (788) (2,101) 1,570
Benefit from deferred taxes (10,649) 1,591 827
Changes in operating assets and liabilities:      
Accounts receivable (859) 875 (6,124)
Inventories (1,059) 6,646 2,598
Prepaid expenses and other current assets (7,238) (1,156) 6,176
Accounts payable 19,049 5,032 (18,141)
Accrued expenses, compensation and benefits and other liabilities (16,066) 69 10,432
Income taxes payable (805) (796) (281)
Deferred revenue and contract assets (16,301) (7,994) 2,272
Net cash provided by operating activities 48,019 62,489 39,555
Cash flows from investing activities:      
Purchases of property and equipment (15,251) (6,819) (5,692)
Net cash used in investing activities (15,251) (6,819) (5,692)
Cash flows from financing activities:      
Proceeds from revolving line of credit 44,000 0 22,000
Repayment on revolving line of credit (44,000) 0 (22,000)
Proceeds from long-term debt 20,000 180,000 7,800
Repayment of debt (6,871) (210,456) (2,250)
Payments for repurchase of common stock (52,993) (24,787) 0
Payments for repurchase of outstanding notes 0 0 (28,867)
Proceeds from the issuance of common stock under employee stock plans 928 808 547
Common stock repurchases for tax withholdings for net settlement of equity awards (12,822) (19,557) (2,365)
Prepayment penalty on extinguishment of debt 0 (1,169) 0
Partial retirement of the convertible notes conversion feature and capped call option unwind 0 0 875
Payments for credit facility issuance costs (942) (2,574) (289)
Net cash used in financing activities (52,700) (77,735) (24,549)
Effect of exchange rate changes on cash, cash equivalents and restricted cash (1,772) (1,016) 1,748
Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents, Period Increase (Decrease), Including Exchange Rate Effect (21,704) (23,081) 11,062
Cash, Cash Equivalents, Restricted Cash, and Restricted Cash Equivalents 60,556 83,637 72,575
Cash, Cash Equivalents, Restricted Cash, and Restricted Cash Equivalents 38,852 60,556 83,637
Supplemental information: [Abstract]      
Cash and Cash Equivalents, at Carrying Value 35,247 56,818 79,899
Restricted cash 2,413 2,416 1,422
Restricted Cash, Noncurrent 1,192 1,322 2,316
Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents 38,852 60,556 83,637
Cash (refunded) paid for income taxes, net 1,697 1,034 (391)
Cash paid for interest 5,859 7,439 17,499
Non-cash transaction - property and equipment included in accounts payable or accruals $ 806 $ 649 $ 0