XML 29 R45.htm IDEA: XBRL DOCUMENT v3.20.1
Long Term Debt (Details) - USD ($)
1 Months Ended
Nov. 27, 2019
Feb. 02, 2017
Apr. 30, 2020
Aug. 31, 2017
Debt Instrument [Line Items]        
Exercise of warrant (in shares)       16,228
Common Shares        
Debt Instrument [Line Items]        
Number of shares for which warrants are exercisable (in shares)   34,260    
Exercise price of warrants (in dollars per share)   $ 96.32    
Fair value of warrants   $ 2,300,000    
Term Loan | Loan and Security Agreement with Hercules Capital, Inc.        
Debt Instrument [Line Items]        
Amount borrowed   55,000,000    
Debt instrument, redemption price, percentage of principal amount redeemed 50.00%      
Repayments of debt $ 15,700,000      
Transaction costs   $ 1,500,000    
Loan term   48 months    
Term Loan | Loan and Security Agreement with Hercules Capital, Inc. | Minimum        
Debt Instrument [Line Items]        
Fixed interest rate 11.55% 10.55%    
Term Loan | Loan and Security Agreement with Hercules Capital, Inc. | Prime Rate        
Debt Instrument [Line Items]        
Variable interest rate 6.80% 6.80%    
Subsequent Event | Term Loan | Loan and Security Agreement with Hercules Capital, Inc.        
Debt Instrument [Line Items]        
Repayments of debt     $ 15,700,000  
Accrued interest, fees and other amounts     $ 300,000