v3.24.0.1
Finance leases and other debt - Additional Information (Details) - USD ($)
12 Months Ended
Dec. 04, 2023
Jun. 08, 2023
Mar. 28, 2022
Jan. 31, 2024
Jan. 31, 2023
Jan. 31, 2022
Mar. 27, 2022
May 05, 2020
Feb. 28, 2019
Debt Instrument [Line Items]                  
Long-term debt       $ 3,147,000          
Loss on extinguishment of debt       1,118,000 $ 0 $ 0      
Term loan                  
Debt Instrument [Line Items]                  
Debt instrument, face amount                 $ 20,000,000
Financing arrangements                  
Debt Instrument [Line Items]                  
Long-term debt       3,124,000 46,000        
Installment payment, amount   $ 123,000              
Debt instrument, term   36 months              
Effective interest rate percentage   10.50%              
Revolving Credit Facility | Second SVB Facility                  
Debt Instrument [Line Items]                  
Line of credit borrowing capacity               $ 50,000,000  
Revolving Credit Facility | Third SVB Facility                  
Debt Instrument [Line Items]                  
Line of credit borrowing capacity     $ 100,000       $ 50,000    
Stated interest rate (as a percent)     3.25%            
Annual commitment fee     $ 250,000            
Quarterly fee (as a percent)     0.15%            
Revolving Credit Facility | Third SVB Facility | Prime Rate                  
Debt Instrument [Line Items]                  
Scheduled reduction in interest rate (as a percent)     0.50%            
Line of Credit | Third SVB Facility | Revolving Credit Facility                  
Debt Instrument [Line Items]                  
Long-term debt       $ 0 $ 0        
Loss on extinguishment of debt $ 1,118,000                
Termination fees 612,000                
Write off of unamortized deferred financing costs $ 506,000                
Line of Credit | Senior Secured Asset-based Revolving Credit Facility | Revolving Credit Facility                  
Debt Instrument [Line Items]                  
Debt instrument, term 5 years                
Line of credit borrowing capacity $ 50,000,000                
Quarterly fee (as a percent) 0.25%                
Interest rate (as a percent)       8.30%          
Debt issuance costs $ 778,000                
Line of Credit | Senior Secured Asset-based Revolving Credit Facility | Bridge Loan                  
Debt Instrument [Line Items]                  
Line of credit borrowing capacity 5,000,000                
Line of Credit | Senior Secured Asset-based Revolving Credit Facility | Letter of Credit                  
Debt Instrument [Line Items]                  
Line of credit borrowing capacity $ 5,000,000