Annual report pursuant to Section 13 and 15(d)

Consolidated Statements of Cash Flows

v3.22.2.2
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Jul. 31, 2022
Jul. 31, 2021
Jul. 31, 2020
Cash flows from operating activities:      
Net (loss) income $ (18,261) $ 7,875 $ (28,520)
Adjustments to reconcile net (loss) income to net cash (used in) provided by operating activities:      
Depreciation and amortization of property, plant and equipment 2,566 2,332 2,256
Amortization of intangible assets 261 321 524
Share-based compensation charges 1,496 907 933
Share-based 401(k) employer match expense 843 731 836
Foreign exchange loss (gain) 2,057 (88) (1,165)
Realized and unrealized loss on marketable securities 1,283 83
Paycheck Protection Program (PPP) loan forgiveness (7,000)
Changes in operating assets and liabilities:      
Accounts receivable (1,299) (1,110) 1,617
Inventories (2,736) (4,937) 85
Prepaid expenses and other assets (1,174) (707) (216)
Accounts payable – trade 390 (395) 1,214
Accrued liabilities, other current liabilities and other liabilities (2,016) 2,375 5,257
Total adjustments 1,671 (7,488) 11,341
Net cash (used in) provided by operating activities (16,590) 387 (17,179)
Cash flows from investing activities:      
Capital expenditures (3,472) (4,436) (2,170)
Sales (purchases) of marketable securities 28,695 (30,061)
Net cash provided by (used in) investing activities 25,223 (34,497) (2,170)
Cash flows from financing activities:      
Proceeds from borrowings under government programs and mortgage agreement 7,412
Repayments under mortgage agreement and capital leases (269) (339) (411)
Proceeds from exercise of stock options 28 97
Net cash (used in) provided by financing activities (241) (242) 7,001
Effect of exchange rate changes on cash and cash equivalents (63) 11 67
Increase (decrease) in cash and cash equivalents and restricted cash 8,329 (34,341) (12,281)
Cash and cash equivalents and restricted cash - beginning of year 14,274 48,615 60,896
Cash and cash equivalents and restricted cash - end of year 22,603 14,274 48,615
Composition of cash and cash equivalents and restricted cash is as follows:      
Cash and cash equivalents 21,603 13,524 47,865
Restricted cash 1,000 750 750
Total cash and cash equivalents and restricted cash $ 22,603 $ 14,274 $ 48,615