XML 52 R37.htm IDEA: XBRL DOCUMENT v3.8.0.1
Long-term Debt (Narrative) (Details) - USD ($)
1 Months Ended 12 Months Ended
Oct. 31, 2017
Mar. 31, 2018
Debt Instrument [Line Items]    
Equity options, purchase price as a percentage of share price 105.00%  
Equity commitment, number of consecutive trading days used for measuring share price 5 days  
Equity option $ 20,000,000  
Equity option to be exercised in the current year $ 10,000,000  
Common Shares    
Debt Instrument [Line Items]    
Warrants exercisable as a percentage of principal amount of loan 3.00%  
Private Placement    
Debt Instrument [Line Items]    
Shares purchased by NovaQuest (in shares) 138,361  
Shares purchased by NovaQuest $ 2,000,000  
Line of Credit | NovaQuest Securities Purchase Agreement    
Debt Instrument [Line Items]    
Maximum borrowing commitment 60,000,000  
Equity commitment related to note issuance 20,000,000  
Minimum borrowing commitment 30,000,000  
Debt issued $ 6,000,000  
Interest rate 15.00%  
Quarterly interest rate 5.00%  
Deferred interest rate 10.00%  
Default interest rate 5.00%  
Financing expenses $ 1,000,000  
Amortized deferred financing costs   $ 200,000
Term Loan | Hercules Loan Agreement    
Debt Instrument [Line Items]    
Maximum borrowing commitment $ 40,000,000  
Interest rate 8.25%  
Default interest rate 5.00%  
Amortized deferred financing costs   500,000
Principal amount funded $ 25,000,000 $ 15,000,000
Current interest rate   8.75%
End of term charge 6.55%  
Term Loan | Hercules Loan Agreement | Prime Rate    
Debt Instrument [Line Items]    
Variable interest rate 4.00%  
Tranche 1 | Common Shares    
Debt Instrument [Line Items]    
Number of securities exercisable by warrant (in shares) 49,800  
Exercise price of warrants (in USD per share) $ 15.06  
Fair value of warrant on date of issuance $ 500,000  
Tranche 1 | Term Loan | Hercules Loan Agreement    
Debt Instrument [Line Items]    
Financing expenses 1,300,000  
Discount $ 2,100,000  
Tranche 2 | Common Shares    
Debt Instrument [Line Items]    
Number of securities exercisable by warrant (in shares) 23,910  
Exercise price of warrants (in USD per share) $ 18.82  
Fair value of warrant on date of issuance $ 300,000  
Tranche 2 | Term Loan | Hercules Loan Agreement    
Debt Instrument [Line Items]    
Discount $ 1,300,000