v3.26.1
Credit Facility (Details)
3 Months Ended 9 Months Ended
Jul. 31, 2027
USD ($)
Apr. 30, 2027
USD ($)
Jan. 31, 2027
USD ($)
Jun. 14, 2026
USD ($)
Jul. 21, 2025
USD ($)
Mar. 03, 2025
USD ($)
Oct. 17, 2024
USD ($)
Jun. 17, 2024
USD ($)
$ / shares
shares
Apr. 30, 2026
USD ($)
Apr. 30, 2025
USD ($)
Apr. 30, 2026
USD ($)
Apr. 30, 2025
USD ($)
Oct. 31, 2027
USD ($)
Jun. 12, 2026
USD ($)
Nov. 10, 2025
USD ($)
Jul. 31, 2025
USD ($)
Jan. 31, 2025
USD ($)
Line of Credit Facility [Line Items]                                  
Unbilled receivables, current, term                 1 year   1 year            
Unbilled receivables, current                 $ 363,000   $ 363,000            
Term loan proceeds allocated to Lender warrants               $ 3,011,000                  
Initial estimated fair value and carrying value of combined embedded derivatives               $ 3,116,000 2,267,000   2,267,000         $ 1,890,000  
Gain (loss) embedded derivative                 (311,000) $ 2,214,000 (377,000) $ 710,000          
Interest expense related to credit facility                 5,850,000 4,555,000 16,327,000 6,118,000          
New Credit Facility Warrants                                  
Line of Credit Facility [Line Items]                                  
Warrants outstanding (in shares) | shares               1,435,884                  
Exercise price of warrants or rights | $ / shares               $ 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                 4,939,000   4,939,000         3,007,000  
Fair value adjustment of warrants                 (2,928,000) (907,000) 1,932,000 (2,682,000)          
Credit Facility                                  
Line of Credit Facility [Line Items]                                  
Line of credit facility, term         90 days   90 days                    
Minimum liquidity         $ 17,500,000       15,000,000   15,000,000            
Percentage of net cash proceeds         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    
Term loan proceeds allocated to Lender warrants               0                  
Initial estimated fair value and carrying value of combined embedded derivatives               0                  
Long-term debt                 108,243,000   108,243,000         118,464,000  
Outstanding balance during period, minimum                     119,672,000            
Outstanding balance during period, maximum                     135,305,000            
Interest expense related to credit facility                 $ 5,681,000 $ 8,330,000 $ 17,961,000 $ 27,257,000          
Weighted average interest rate                 18.50% 18.40% 18.20% 18.70%          
Credit Facility | Third Amendment | Forecast                                  
Line of Credit Facility [Line Items]                                  
Minimum liquidity $ 37,500,000 $ 35,000,000 $ 32,500,000                   $ 40,000,000        
Minimum interest expense coverage ratio 1.35   1.30                            
Debt instruments, covenant, net leverage ratio, maximum 2.65 2.75 2.75                            
Credit Facility | Subsequent Event | Base Rate                                  
Line of Credit Facility [Line Items]                                  
Basis spread on variable rate       9.50%                          
Credit Facility | Subsequent Event | Secured Overnight Financing Rate (SOFR)                                  
Line of Credit Facility [Line Items]                                  
Basis spread on variable rate       10.50%                          
Credit Facility | Line of Credit                                  
Line of Credit Facility [Line Items]                                  
Minimum liquidity           $ 20,000,000     $ 17,500,000   $ 17,500,000            
Credit Facility | Line of Credit | Base Rate                                  
Line of Credit Facility [Line Items]                                  
Debt instrument, interest rate, stated percentage           12.00% 12.00%   9.50%   9.50%            
Credit Facility | Line of Credit | Secured Overnight Financing Rate (SOFR)                                  
Line of Credit Facility [Line Items]                                  
Debt instrument, interest rate, stated percentage           13.00% 13.00%   10.50%   10.50%            
Subordinated Credit Facility                                  
Line of Credit Facility [Line Items]                                  
Percentage of net cash proceeds         35.00%                        
Long-term debt                 $ 106,879,000   $ 106,879,000         95,588,000  
Secured Credit Facility | Credit Facility | Line of Credit                                  
Line of Credit Facility [Line Items]                                  
Debt instrument, amortization percent                 2.50%   2.50%            
Debt instrument, annual principal payment                 $ 1,012,500   $ 1,012,500            
Revolving Loan Facility | Credit Facility                                  
Line of Credit Facility [Line Items]                                  
Line of credit facility, maximum borrowing capacity           $ 29,321,000 $ 27,500,000                   $ 32,500,000
Term loan proceeds allocated to Lender warrants               0                  
Initial estimated fair value and carrying value of combined embedded derivatives               0                  
Long-term debt                 3,641,000   3,641,000         17,641,000  
Remaining borrowing capacity                 23,609,000   23,609,000            
Revolving Loan Facility | Credit Facility | Subsequent Event                                  
Line of Credit Facility [Line Items]                                  
Debt instrument, interest rate, stated percentage       1.00%                          
Outstanding balance during period, maximum       $ 27,250,000                          
Remaining borrowing capacity                           $ 27,250,000      
Revolving Loan Facility | Credit Facility | Line of Credit                                  
Line of Credit Facility [Line Items]                                  
Term Loan                 $ 54,750,000   $ 54,750,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%            
Remaining borrowing capacity                 $ 92,980,000   $ 92,980,000         101,222,000  
Debt instrument, unused line fee           0.50%                      
Revolving Loan Facility | Credit Facility | Line of Credit | Base Rate                                  
Line of Credit Facility [Line Items]                                  
Debt instrument, interest rate margin increase             1.00%                    
Term Loan A | Credit Facility                                  
Line of Credit Facility [Line Items]                                  
Long-term debt                 102,335,000   102,335,000         98,933,000  
Unsecured Debt | Credit Facility                                  
Line of Credit Facility [Line Items]                                  
Line of credit facility, maximum borrowing capacity         $ 35,000,000 $ 40,000,000 $ 25,000,000   65,000,000   65,000,000            
Unsecured Debt | Credit Facility | Subsequent Event                                  
Line of Credit Facility [Line Items]                                  
Line of credit facility, maximum borrowing capacity                           $ 35,000,000      
Term Loan Facility | Credit Facility                                  
Line of Credit Facility [Line Items]                                  
Term Loan                 116,031,000   116,031,000         116,260,000  
Term loan proceeds allocated to Lender warrants               0                  
Initial estimated fair value and carrying value of combined embedded derivatives               $ 0                  
Term Loan Facility | Credit Facility | Line of Credit                                  
Line of Credit Facility [Line Items]                                  
Partial principal payment           $ 27,252,000                      
Term Loan Facility | Credit Facility | Line of Credit | Base Rate                                  
Line of Credit Facility [Line Items]                                  
Basis spread on variable rate         9.50%                        
Term Loan Facility | Credit Facility | Line of Credit | Base Rate | Minimum                                  
Line of Credit Facility [Line Items]                                  
Basis spread on variable rate         7.50%                        
Term Loan Facility | Credit Facility | Line of Credit | Base Rate | Maximum                                  
Line of Credit Facility [Line Items]                                  
Basis spread on variable rate         9.00%                        
Term Loan Facility | Credit Facility | Line of Credit | Secured Overnight Financing Rate (SOFR)                                  
Line of Credit Facility [Line Items]                                  
Basis spread on variable rate         10.50%                        
Term Loan Facility | Credit Facility | Line of Credit | Secured Overnight Financing Rate (SOFR) | Minimum                                  
Line of Credit Facility [Line Items]                                  
Basis spread on variable rate         8.50%                        
Term Loan Facility | Credit Facility | Line of Credit | Secured Overnight Financing Rate (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                 $ 2,267,000   $ 2,267,000         $ 1,890,000