XML 41 R31.htm IDEA: XBRL DOCUMENT v3.8.0.1
Debt - Term Loan (Details) - USD ($)
3 Months Ended
Jul. 31, 2018
Jul. 24, 2017
Mar. 31, 2018
Mar. 31, 2017
Dec. 31, 2017
Debt          
Interest (expense) income     $ (160,000) $ 12,000  
Minimum aggregate future payments          
2018     2,009,000    
2019     4,297,000    
2020     4,105,000    
2021     1,333,000    
Total minimum payments     11,744,000    
Amount representing interest and discounts     (1,629,000)    
Present value of minimum payments     10,115,000    
Current portion     (2,355,000)   $ (1,355,000)
Long-term portion     7,760,000   $ 8,683,000
Term Loan          
Debt          
Principal amount   $ 15,000,000      
Convertible interest rate (as a percentage)   5.00%      
Debt issue costs     $ 100,000    
Final payment fee (as a percentage)   10.00%      
Success fee (as a percentage)   3.50%      
Cash security (as a percentage)     50.00%    
Interest (expense) income     $ 200,000 $ 0  
Term Loan | Subsequent Event          
Debt          
Cash security (as a percentage) 100.00%        
Term Loan | Minimum          
Debt          
Interest rate Percentage     4.50%    
Minimum aggregate future payments          
Interest rate Percentage     4.50%    
Term Loan | Maximum          
Debt          
Interest rate Percentage     4.75%    
Minimum aggregate future payments          
Interest rate Percentage     4.75%    
Term Loan | Prior to first anniversary effective date          
Debt          
Prepayment fee (as a percentage)   2.00%      
Term Loan | Occurs thereafter          
Debt          
Prepayment fee (as a percentage)   1.00%      
Initial Tranche          
Debt          
Principal amount   $ 10,000,000      
Additional Tranche available to be drawn through July 31, 2018          
Debt          
Principal amount   $ 5,000,000