v3.26.3
Consolidated Statements of Cash Flows - USD ($)
12 Months Ended
Jul. 31, 2026
Jul. 31, 2025
Cash flows from operating activities:    
Net loss $ (36,169,000) $ (155,302,000)
Less: Net loss from discontinued operations (17,888,000) (136,305,000)
Net loss from continuing operations (18,281,000) (18,997,000)
Adjustments to reconcile net loss to net cash provided by (used in) operating activities:    
Depreciation and amortization of property, plant and equipment 9,778,000 8,813,000
Amortization of intangible assets 14,763,000 15,154,000
Amortization of stock-based compensation 3,121,000 2,238,000
Paid-in-kind interest under term loan 0 1,850,000
Amortization of deferred financing costs, debt discount and accreted interest related to subordinated credit facility 14,352,000 3,098,000
Amortization of deferred financing costs and debt discount related to credit facility 1,760,000 2,176,000
Write-off of deferred financing costs and debt discounts 0 8,977,000
Change in fair value of warrants and derivatives (22,089,000) (38,498,000)
Loss on disposal of property, plant and equipment 0 11,000
(Benefit from) provision for allowance for doubtful accounts and contract assets (302,000) 375,000
Provision for excess and obsolete inventory 492,000 261,000
Deferred income tax expense (benefit) 1,032,000 (1,187,000)
Impairment of long-lived assets, including goodwill 0 5,304,000
Changes in assets and liabilities:    
Accounts receivable 19,675,000 (8,472,000)
Inventories (4,066,000) 1,134,000
Prepaid expenses and other current assets 99,000 (2,731,000)
Other assets 709,000 745,000
Accounts payable 6,043,000 (6,752,000)
Accrued expenses and other current liabilities 1,018,000 (1,914,000)
Contract liabilities (2,773,000) 1,767,000
Other liabilities, non-current 68,000 (95,000)
Interest payable (211,000) (1,057,000)
Income taxes payable (203,000) (1,394,000)
Net cash provided by (used in) operating activities from continuing operations 24,985,000 (29,194,000)
Net cash provided by operating activities from discontinued operations 12,425,000 20,902,000
Net cash provided by (used in) operating activities 37,410,000 (8,292,000)
Cash flows from investing activities:    
Purchases of property, plant and equipment (15,223,000) (8,228,000)
Proceeds from sale of indefinite lived intangible assets 565,000 0
Net cash used in investing activities from continuing operations (14,658,000) (8,228,000)
Net cash provided by (used in) investing activities from discontinued operations 8,748,000 (337,000)
Net cash used in investing activities (5,910,000) (8,565,000)
Cash flows from financing activities:    
Net payments under revolving loans (17,641,000) (14,859,000)
Repayment of term loan (10,550,000) (56,746,000)
Repayment of subordinated credit facility (3,021,000) 0
Proceeds from subordinated credit facility 0 100,000,000
Payment of deferred financing costs and debt discount (450,000) (4,545,000)
Contribution for constructing long-lived assets 0 2,814,000
Payment of convertible preferred stock consent fee 0 (650,000)
Payment of convertible preferred stock amendment fees (80,000) (76,000)
Cash dividends paid on common stock (32,000) (158,000)
Remittance of employees' statutory tax withholding for stock awards (688,000) (1,248,000)
Proceeds from issuance of employee stock purchase plan shares 95,000 118,000
Payment of shelf registration costs (181,000) (207,000)
Net cash (used in) provided by financing activities from continuing operations (32,548,000) 24,443,000
Net (decrease) increase in cash and cash equivalents, including cash classified within current assets of discontinued operations held for sale (1,048,000) 7,586,000
Less: Net (decrease) increase in cash classified within current assets of discontinued operations held for sale (655,000) 1,097,000
Net (decrease) increase in cash and cash equivalents from continuing operations (393,000) 6,489,000
Cash and cash equivalents at beginning of year 35,371,000 28,882,000
Cash and cash equivalents at end of year 34,978,000 35,371,000
Supplemental cash flow disclosure (including discontinued operations)    
Interest 18,271,000 27,724,000
Income taxes, net (163,000) 1,876,000
Non-cash investing and financing activities:    
Adjustment to reflect redemption value of convertible preferred stock 32,438,000 96,258,000
Term loan amendment fees paid-in-kind 2,809,000 5,815,000
Accrued term loan amendment fee 0 2,809,000
Accrued additions to property, plant and equipment 662,000 317,000
Issuance of restricted stock 11,000 6,000
Accrued remittance of employees' statutory tax withholdings for fully-vested share units 2,000 3,000
Reversal of dividend equivalents 0 (42,000)
Accrued deferred financing costs 320,000 0
Accrued shelf registration costs 54,000 0
Accrued convertible preferred stock amendment fees $ 245,000 $ 0