XML 18 R8.htm IDEA: XBRL DOCUMENT v3.21.2
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2021
Jun. 30, 2020
Cash flows from operating activities:    
Net income $ 8,215 $ 4,407
Adjustments to reconcile net income to net cash (used in) provided by operating activities:    
Depreciation and amortization of property, plant and equipment and intangible assets 10,697 9,665
Amortization of other long-term assets 2,044 1,965
Accretion of discounted liabilities (9) 7
Amortization of deferred loan fees 162 139
Provision for bad debts 945 392
Loan principal and interest forgiveness (672)  
Adjustment to contingent consideration 1,014  
Stock-based compensation 3,598 2,545
Change in deferred income taxes (353) (1,562)
Change in fair value of an equity investment (771) (24)
Net foreign currency adjustments (147) 594
Loss from equity method investment 87 38
Adjustment to bargain purchase gain on business acquisition 121  
Changes in assets and liabilities associated with operations:    
(Increase) decrease in net receivables (25,317) 16,421
Increase in inventories (11,464) (21,706)
Increase in prepaid expenses and other assets (3,696) (2,297)
Decrease in income tax receivable 1,374 899
(Decrease) increase in net operating lease liability (120) 7
Increase (decrease) in accounts payable 6,190 (12,351)
Decrease in deferred revenue (30,407) (2,431)
Increase in accrued program costs 19,098 12,577
Increase (decrease) in other payables and accrued expenses 507 (2,394)
Net cash (used in) provided by operating activities (18,904) 6,915
Cash flows from investing activities:    
Capital expenditures (5,075) (6,386)
Acquisition of product line (10,000)  
Intangible assets (241) (3,889)
Investments (184) (1,190)
Net cash used in investing activities (15,500) (11,465)
Cash flows from financing activities:    
Net borrowings under line of credit agreement 41,774 10,502
Payment of contingent consideration (250) (1,227)
Net payments from the issuance of common stock (sale of stock under ESPP, exercise of stock options, and shares purchased for tax withholding) (2,393) (2,123)
Payment of cash dividends (1,189) (1,168)
Net cash provided by financing activities 37,942 5,984
Net increase in cash and cash equivalents 3,538 1,434
Effect of exchange rate changes on cash and cash equivalents 98 585
Cash and cash equivalents at beginning of period 15,923 6,581
Cash and cash equivalents at end of period 19,559 8,600
Cash paid during the period for:    
Interest 1,873 2,902
Income taxes, net 2,757 1,901
Non-cash transactions:    
ROU assets exchanged for lease liabilities $ 12,067 $ 1,502