XML 73 R48.htm IDEA: XBRL DOCUMENT v3.20.2
Debt and Finance Lease Liabilities - First Amended and Restated Loan and Security Agreement (Details) - USD ($)
3 Months Ended 6 Months Ended
Feb. 28, 2019
Jul. 31, 2020
Jul. 31, 2019
Jul. 31, 2020
Jul. 31, 2019
Jan. 31, 2020
Debt Instrument [Line Items]            
Loss on extinguishment of debt       $ 0 $ 1,073,000  
Common Stock            
Debt Instrument [Line Items]            
Exercise price (in dollars per share)   $ 8.02   $ 8.02   $ 8.02
Warrants outstanding (in shares)   75,137   75,137   75,137
Loans Payable            
Debt Instrument [Line Items]            
Loss on extinguishment of debt         1,073,000  
Write off of deferred debt issuance cost         773,000  
Debt prepayment cost         300,000  
Debt extinguishment and modification fee         $ 112,000  
Term loan            
Debt Instrument [Line Items]            
Debt instrument, face amount $ 20,000,000          
Debt instrument, term 36 months          
Amended And Restated Loan And Security Agreement            
Debt Instrument [Line Items]            
Debt instrument, fee percentage 2.75%          
Final payment accrual charged to interest expense   $ 257,000        
Number of securities called by warrants (in shares) 150,274          
Exercise price (in dollars per share) $ 8.02          
Amended And Restated Loan And Security Agreement | Before EBITDA Benchmark | Prime Rate            
Debt Instrument [Line Items]            
Variable interest rate 1.50%          
Amended And Restated Loan And Security Agreement | After EBITDA Benchmark | Prime Rate            
Debt Instrument [Line Items]            
Variable interest rate 0.75%          
Amended And Restated Loan And Security Agreement | Revolving credit facility            
Debt Instrument [Line Items]            
Maximum borrowing capacity $ 25,000,000          
Debt instrument, fee percentage 0.15%          
Line of credit, facility annual fee for first three years $ 100,000          
Line of credit, facility annual fee for fourth and fifth years $ 75,000          
Payment of debt fees   $ 100,000 $ 100,000      
Line of credit facility termination fee percentage 1.50%