Quarterly report pursuant to Section 13 or 15(d)

Consolidated Statements of Cash Flows (Unaudited)

v3.22.1
Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Thousands
9 Months Ended
Apr. 30, 2022
Apr. 30, 2021
Cash flows from operating activities:    
Net (loss) income $ (9,828) $ 4,607
Adjustments to reconcile net (loss) income to net cash (used in) provided by operating activities:    
Depreciation and amortization of property, plant and equipment 1,910 1,724
Amortization of intangible assets 228 244
Share-based compensation charges 1,057 640
Share-based 401(k) employer match expense 645 559
Foreign exchange loss (gain) 1,788 (494)
Realized loss on marketable securities 1,283  
Unrealized loss on marketable securities   91
Changes in operating assets and liabilities:    
Accounts receivable (1,556) (2,292)
Inventories (2,273) (3,159)
Prepaid expenses and other assets 179 29
Accounts payable – trade (458) (2,473)
Accrued liabilities, other current liabilities and other liabilities (495) 803
Total adjustments 2,308 (4,328)
Net cash (used in) provided by operating activities (7,520) 279
Cash flows from investing activities:    
Sales of marketable securities 28,695  
Purchases of marketable securities   (30,023)
Capital expenditures (3,103) (2,870)
Net cash provided by (used in) investing activities 25,592 (32,893)
Cash flows from financing activities:    
Repayments under mortgage agreement and finance leases (173) (283)
Proceeds from exercise of stock options 28 97
Net cash used in financing activities (145) (186)
Effect of exchange rate changes on cash and cash equivalents (71) 24
Increase (decrease) in cash and cash equivalents and restricted cash 17,856 (32,776)
Cash and cash equivalents and restricted cash - beginning of period 14,274 48,615
Total cash and cash equivalents and restricted cash - end of period 32,130 15,839
The composition of total cash and cash equivalents and restricted cash is as follows:    
Cash and cash equivalents 31,130 15,089
Restricted cash included in other assets 1,000 750
Total cash and cash equivalents and restricted cash $ 32,130 $ 15,839