XML 58 R47.htm IDEA: XBRL DOCUMENT v3.20.2
Debt and Finance Lease Liabilities - Second Amended and Restated Loan and Security Agreement (Details) - USD ($)
3 Months Ended 9 Months Ended
May 05, 2020
Feb. 28, 2019
Oct. 31, 2020
Jul. 31, 2020
Oct. 31, 2020
Oct. 31, 2019
Jan. 31, 2020
Debt Instrument [Line Items]              
Debt prepayment fee         $ 0 $ 300,000  
Payment of accrued final payment fee         225,000 0  
Revolving credit facility              
Debt Instrument [Line Items]              
Long term debt     $ 20,663,000   20,663,000   $ 0
Second Amended And Restated Loan And Security Agreement              
Debt Instrument [Line Items]              
Effective interest rate     4.50%        
Remaining borrowing capacity     $ 29,337,000   $ 29,337,000    
Second Amended And Restated Loan And Security Agreement | Revolving credit facility              
Debt Instrument [Line Items]              
Maximum borrowing capacity $ 50,000,000            
Long term debt 20,663,000            
Debt instrument, term         5 years    
Annual fee amount 125,000            
Payment of debt fees       $ 125,000      
Termination fee 187,000            
Monthly termination fee decrease $ 6,000            
Termination fee percentage before year two 0.015            
Termination fee percentage before year three 0.0075            
Termination fee percentage before year four 0.005            
Debt issuance costs     531,000        
Entrance fee     $ 125,000        
Second Amended And Restated Loan And Security Agreement | Revolving credit facility | Before EBITDA Benchmark              
Debt Instrument [Line Items]              
Stated interest rate 4.50%            
Second Amended And Restated Loan And Security Agreement | Revolving credit facility | After EBITDA Benchmark              
Debt Instrument [Line Items]              
Stated interest rate     4.00%   4.00%    
Second Amended And Restated Loan And Security Agreement | Revolving credit facility | Prime Rate | After EBITDA Benchmark              
Debt Instrument [Line Items]              
Variable interest rate         (0.50%)    
Second Amended And Restated Loan And Security Agreement, Optional Capacity Increase | Revolving credit facility              
Debt Instrument [Line Items]              
Maximum borrowing capacity $ 65,000,000            
Term loan | Revolving credit facility              
Debt Instrument [Line Items]              
Repayments of debt 20,000,000            
Debt prepayment fee           $ 300,000  
Payment of accrued final payment fee         $ 363,000    
Amended And Restated Loan And Security Agreement | Prime Rate              
Debt Instrument [Line Items]              
Variable interest rate   1.50%          
Amended And Restated Loan And Security Agreement | Revolving credit facility              
Debt Instrument [Line Items]              
Maximum borrowing capacity   $ 25,000,000          
Long term debt $ 0           $ 0
Debt prepayment fee     $ 406,000