v3.26.3
Credit Facility - Narrative (Details) - USD ($)
12 Months Ended
Apr. 30, 2028
Jul. 31, 2026
Jun. 14, 2026
Jul. 21, 2025
Mar. 03, 2025
Jun. 17, 2024
Jul. 31, 2026
Jul. 31, 2025
Jan. 31, 2025
Oct. 17, 2024
Jul. 31, 2024
Line of Credit Facility [Line Items]                      
Term loan proceeds allocated to lender warrants                     $ 3,011,000
Initial estimated fair value and carrying value of combined embedded derivatives           $ 3,116,000         3,116,000
Embedded derivative, gain (loss) on embedded derivative, net             $ 1,289,000 $ 1,151,000      
Repayments of Secured Debt             10,550,000 56,746,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      
New Credit Facility Warrants                      
Line of Credit Facility [Line Items]                      
Warrants outstanding (in shares)           1,435,884          
Exercise price of warrants or rights           $ 0.10          
Class of warrant or right, resell rights, percentage           50.00%          
Class of warrant or right, resell rights, discount percentage           10.00%          
Class of warrant or right, resell rights, volume weighted average price           30 days          
Term loan proceeds allocated to lender warrants           $ 3,011,000          
Warrant liability, fair value   $ 2,303,000         2,303,000 3,007,000      
Fair value adjustment of warrants             (704,000) $ (1,537,000)      
Credit Facility                      
Line of Credit Facility [Line Items]                      
Line of credit facility, term       90 days 90 days            
Minimum liquidity   $ 15,000,000   $ 17,500,000     $ 15,000,000        
Percentage of net cash proceeds   65.00%         65.00%        
Minimum interest expense coverage ratio             1.75        
Debt instruments, covenant, net leverage ratio, maximum             3.25        
Debt instrument, deferred loan   $ 3,037,500         $ 3,037,500        
Term loan proceeds allocated to lender warrants                     0
Initial estimated fair value and carrying value of combined embedded derivatives                     0
Outstanding balance during period, minimum             108,519,000        
Outstanding balance during period, maximum             $ 135,305,000        
Weighted average interest rate   19.76%         19.76% 18.51%      
Credit Facility | Line of Credit                      
Line of Credit Facility [Line Items]                      
Minimum liquidity   $ 17,500,000     $ 20,000,000   $ 17,500,000        
Minimum interest expense coverage ratio     1.35                
Debt instruments, covenant, net leverage ratio, maximum     2.65                
Prepayment penalty (as a percent)     1.00%                
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]                      
Debt instrument, interest rate, stated percentage   9.50%     12.00%   9.50%        
Basis spread on variable rate     9.50%                
Credit Facility | Line of Credit | SOFR                      
Line of Credit Facility [Line Items]                      
Debt instrument, interest rate, stated percentage   10.50%     13.00%   10.50%        
Basis spread on variable rate     10.50%                
Subordinated Credit Facility                      
Line of Credit Facility [Line Items]                      
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]                      
Minimum interest expense coverage ratio     1.08                
Debt instruments, covenant, net leverage ratio, maximum     3.18                
Long-term debt, gross, current   42,987,000         42,987,000 0      
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                
Term Loan | Credit Facility | Line of Credit                      
Line of Credit Facility [Line Items]                      
Long-term debt   23,172,000         23,172,000 112,210,000      
Line of credit facility, remaining borrowing capacity   108,519,000         108,519,000        
Debt instrument, amortization percent           2.50%          
Debt instrument, annual principal payment           $ 1,012,500          
Repayments of Secured Debt   6,500,000                  
Long-term debt, gross, current   85,347,000         85,347,000 4,050,000      
Term Loan | Credit Facility | Line of Credit | Forecast                      
Line of Credit Facility [Line Items]                      
Debt instrument, periodic payment $ 587,500                    
Revolver                      
Line of Credit Facility [Line Items]                      
Line of credit facility, remaining borrowing capacity   27,250,000         27,250,000        
Revolver | Credit Facility                      
Line of Credit Facility [Line Items]                      
Line of credit facility, maximum borrowing capacity         $ 29,321,000       $ 32,500,000    
Term loan proceeds allocated to lender warrants                     0
Initial estimated fair value and carrying value of combined embedded derivatives                     0
Revolver | Credit Facility | Line of Credit                      
Line of Credit Facility [Line Items]                      
Long-term debt   $ 54,750,000         $ 54,750,000        
Line of credit facility, maximum borrowing capacity     $ 27,250,000                
Partial principal payment         9,084,000            
Line of credit facility, increase (decrease), net       (2,071,000) 3,179,000            
Line of credit facility, borrowing capacity base, billed accounts receivable percentage   85.00%         85.00%        
Line of credit facility, borrowing capacity base, unbilled accounts receivable percentage   85.00%         85.00%        
Line of credit facility, borrowing capacity base, percentage of billed and unbilled receivables calculations   12.50%         12.50%        
Line of credit facility, borrowing capacity base, billed and unbilled receivables calculations, amount   $ 15,000,000         $ 15,000,000        
Line of credit facility, borrowing capacity base, percentage of inventory   60.00%         60.00%        
Line of credit facility, remaining borrowing capacity   $ 92,727,000         $ 92,727,000 101,222,000      
Revolver | Credit Facility | Line of Credit | Base Rate                      
Line of Credit Facility [Line Items]                      
Debt instrument, interest rate margin increase             1.00%        
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  
Term Loan | Credit Facility                      
Line of Credit Facility [Line Items]                      
Term loan proceeds allocated to lender warrants                     0
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]                      
Partial principal payment         $ 27,252,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 | Base Rate | Minimum                      
Line of Credit Facility [Line Items]                      
Basis spread on variable rate             7.50%        
Term Loan | Credit Facility | Line of Credit | Base Rate | Maximum                      
Line of Credit Facility [Line Items]                      
Basis spread on variable rate             9.00%        
Term Loan | Credit Facility | Line of Credit | SOFR                      
Line of Credit Facility [Line Items]                      
Basis spread on variable rate       10.50%     10.50%        
Term Loan | Credit Facility | Line of Credit | SOFR | Minimum                      
Line of Credit Facility [Line Items]                      
Basis spread on variable rate             8.50%        
Term Loan | Credit Facility | Line of Credit | SOFR | Maximum                      
Line of Credit Facility [Line Items]                      
Basis spread on variable rate             10.00%        
Embedded Derivative Loan Facility | Credit Facility                      
Line of Credit Facility [Line Items]                      
Long-term debt   $ 601,000         $ 601,000 $ 1,890,000