v3.26.3
Subordinated Credit Facility - Narrative (Details)
12 Months Ended
Jul. 31, 2026
USD ($)
Jun. 14, 2026
USD ($)
$ / shares
shares
Jul. 21, 2025
USD ($)
Mar. 03, 2025
USD ($)
Jul. 31, 2026
USD ($)
tranche
Jul. 31, 2025
USD ($)
Jan. 31, 2025
USD ($)
Oct. 17, 2024
USD ($)
Jul. 31, 2024
USD ($)
Jun. 17, 2024
USD ($)
Line of Credit Facility [Line Items]                    
Number of tranches | tranche         2          
Line of credit facility, derivative liability               $ 16,864,000    
Initial estimated fair value and carrying value of combined embedded derivatives                 $ 3,116,000 $ 3,116,000
Repayments of debt         $ 17,641,000 $ 14,859,000        
Warrant liability $ 0       0 234,000        
Continuing Operations                    
Line of Credit Facility [Line Items]                    
Interest expense related to credit facility         6,809,000 14,877,000        
Discontinued Operations                    
Line of Credit Facility [Line Items]                    
Interest expense related to credit facility         18,526,000 19,836,000        
Subordinated Lender Warrants                    
Line of Credit Facility [Line Items]                    
Warrants outstanding (in shares) | shares   625,000                
Exercise price of warrants or rights | $ / shares   $ 0.10                
Warrant liability 1,005,000 $ 1,678,000     1,005,000          
Fair value adjustment of warrants         (673,000)          
Credit Facility                    
Line of Credit Facility [Line Items]                    
Minimum liquidity $ 15,000,000   $ 17,500,000   $ 15,000,000          
Debt instruments, covenant, net leverage ratio, maximum         3.25          
Minimum interest expense coverage ratio         1.75          
Line of credit facility, term     90 days 90 days            
Percentage of net cash proceeds 65.00%       65.00%          
Initial estimated fair value and carrying value of combined embedded derivatives                 0  
Credit Facility | Line of Credit                    
Line of Credit Facility [Line Items]                    
Minimum liquidity $ 17,500,000     $ 20,000,000 $ 17,500,000          
Debt instruments, covenant, net leverage ratio, maximum   2.65                
Minimum interest expense coverage ratio   1.35                
Credit Facility | Line of Credit | Four-quarter period ending July 31, 2027                    
Line of Credit Facility [Line Items]                    
Covenant compliance, Minimum EBITDA   $ 37,500,000                
Credit Facility | Line of Credit | Four-quarter period ending October 31, 2027 and thereafter                    
Line of Credit Facility [Line Items]                    
Covenant compliance, Minimum EBITDA   $ 40,000,000                
Credit Facility | Line of Credit | Base Rate                    
Line of Credit Facility [Line Items]                    
Basis spread on variable rate   9.50%                
Credit Facility | Line of Credit | SOFR                    
Line of Credit Facility [Line Items]                    
Basis spread on variable rate   10.50%                
Subordinated Credit Facility                    
Line of Credit Facility [Line Items]                    
Line of credit facility, noncash expense         $ (5,753,000) (11,111,000)        
Percentage of net cash proceeds 35.00%       35.00%          
Initial estimated fair value and carrying value of combined embedded derivatives $ 0       $ 0 5,753,000        
Subordinated Credit Facility | Continuing Operations                    
Line of Credit Facility [Line Items]                    
Interest expense related to credit facility         14,507,000 4,084,000        
Subordinated Credit Facility | Discontinued Operations                    
Line of Credit Facility [Line Items]                    
Interest expense related to credit facility         8,410,000 6,793,000        
Subordinated Credit Facility | Line of Credit                    
Line of Credit Facility [Line Items]                    
Debt instruments, covenant, net leverage ratio, maximum   3.18                
Minimum interest expense coverage ratio   1.08                
Repayments of Debt 3,500,000                  
Long-term debt, gross, current 42,987,000       42,987,000 $ 0        
Long-term debt, excluding deferred financing costs and discounts 45,956,000       45,956,000          
Subordinated Credit Facility | Line of Credit | Four-quarter period ending July 31, 2027                    
Line of Credit Facility [Line Items]                    
Covenant compliance, Minimum EBITDA   $ 30,000,000                
Subordinated Credit Facility | Line of Credit | Four-quarter period ending October 31, 2027 and thereafter                    
Line of Credit Facility [Line Items]                    
Covenant compliance, Minimum EBITDA   32,000,000                
Unsecured Debt | Credit Facility                    
Line of Credit Facility [Line Items]                    
Line of credit facility, maximum borrowing capacity $ 65,000,000   $ 35,000,000 40,000,000 $ 65,000,000     $ 25,000,000    
Line of credit facility, interest rate     16.00%              
Line of credit facility, interest rate increase (decrease)     2.00%              
Subordinated debt       40,000,000            
Unsecured Debt | Credit Facility | First Anniversary                    
Line of Credit Facility [Line Items]                    
Line of credit facility, interest rate     33.00%              
Unsecured Debt | Credit Facility | Second Anniversary                    
Line of Credit Facility [Line Items]                    
Line of credit facility, interest rate     50.00%              
Unsecured Debt | Credit Facility | Third Anniversary                    
Line of Credit Facility [Line Items]                    
Line of credit facility, interest rate     75.00%              
Revolver | Credit Facility                    
Line of Credit Facility [Line Items]                    
Line of credit facility, maximum borrowing capacity       29,321,000     $ 32,500,000      
Initial estimated fair value and carrying value of combined embedded derivatives                 0  
Revolver | Credit Facility | Line of Credit                    
Line of Credit Facility [Line Items]                    
Line of credit facility, maximum borrowing capacity   $ 27,250,000                
Line of credit facility, prepayment without principal     $ 5,775,000              
Line of credit facility, increase (decrease), net     (2,071,000) $ 3,179,000            
Term Loan | Credit Facility                    
Line of Credit Facility [Line Items]                    
Initial estimated fair value and carrying value of combined embedded derivatives                 $ 0  
Term Loan | Credit Facility | Line of Credit                    
Line of Credit Facility [Line Items]                    
Line of credit facility, prepayment without principal     $ 28,481,000              
Term Loan | Credit Facility | Line of Credit | Base Rate                    
Line of Credit Facility [Line Items]                    
Basis spread on variable rate         9.50%          
Term Loan | Credit Facility | Line of Credit | SOFR                    
Line of Credit Facility [Line Items]                    
Basis spread on variable rate     10.50%   10.50%