XML 17 R8.htm IDEA: XBRL DOCUMENT v3.22.2
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2022
Jun. 30, 2021
Cash flows from operating activities:    
Net income $ 16,765 $ 8,215
Adjustments to reconcile net income to net cash used in operating activities:    
Depreciation and amortization of property, plant and equipment and intangible assets 11,004 10,697
Amortization of other long-term assets 1,739 2,044
Loss on disposal of property, plant and equipment 256  
Accretion of discounted liabilities 17 (11)
Amortization of deferred loan fees 139 162
Provision for bad debts 470 945
Loan principal and interest forgiveness   (672)
Fair value adjustment to contingent consideration 635 1,013
Stock-based compensation 2,836 3,598
Change in deferred income taxes 109 (353)
Change in fair value of an equity investment 403 (771)
Loss on equity method investment   87
Adjustment to bargain purchase gain on business acquisition   121
Net foreign currency adjustments (20) (145)
Changes in assets and liabilities associated with operations:    
Increase in net receivables (18,645) (25,317)
Increase in inventories (27,774) (11,464)
Increase in prepaid expenses and other assets (3,652) (3,696)
(Increase) decrease in income tax receivable/payable, net (3,526) 1,374
(Decrease) in net operating lease liability (21) (120)
Increase in accounts payable 19,439 6,190
Decrease in customer prepayments (62,789) (30,407)
Increase in accrued program costs 35,987 19,098
(Decrease) increase in other payables and accrued expenses (602) 507
Net cash used in operating activities (27,230) (18,905)
Cash flows from investing activities:    
Capital expenditures (5,654) (5,075)
Proceeds from disposal of property, plant and equipment 27  
Acquisition of product line   (10,000)
Intangible assets (1,044) (241)
Investments   (184)
Net cash used in investing activities (6,671) (15,500)
Cash flows from financing activities:    
Payments under line of credit agreement (56,600) (24,226)
Borrowings under line of credit agreement 105,000 66,000
Payment of contingent consideration   (250)
Net receipt from the issuance of common stock under ESPP 436 340
Net receipt from the exercise of stock options 765 167
Payment for tax withholding on stock-based compensation awards (2,012) (2,900)
Repurchase of common stock (6,232)  
Payment of cash dividends (1,330) (1,188)
Net cash provided by financing activities 40,027 37,943
Net increase in cash and cash equivalents 6,126 3,538
Effect of exchange rate changes on cash and cash equivalents (354) 98
Cash and cash equivalents at beginning of period 16,285 15,923
Cash and cash equivalents at end of period $ 22,057 $ 19,559