XML 38 R24.htm IDEA: XBRL DOCUMENT v3.8.0.1
Long-term Debt (Narrative) (Details) - USD ($)
1 Months Ended 3 Months Ended
Oct. 31, 2017
Dec. 31, 2017
Debt Instrument [Line Items]    
Equity option $ 20,000,000  
Equity option to be exercised in the current year $ 10,000,000  
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  
Common Shares    
Debt Instrument [Line Items]    
Warrants exercisable as a percentage of principal amount of loan 3.00%  
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  
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  
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%  
Equity commitment related to note issuance, portion of note issuance amount 0.3333  
Equity commitment related to note issuance $ 20,000,000  
Financing expenses 1,000,000  
Amortized deferred financing costs   $ 100,000
Term Loan | Hercules Loan Agreement    
Debt Instrument [Line Items]    
Maximum borrowing commitment $ 40,000,000  
Interest rate 8.25%  
Current interest rate   8.50%
Default interest rate 5.00%  
Discount $ 2,100,000  
Financing expenses 1,300,000  
Amortized deferred financing costs   $ 300,000
Principal amount funded 25,000,000  
Remaining borrowing commitment $ 15,000,000  
End of term charge 6.55%  
Term Loan | Hercules Loan Agreement | Prime Rate    
Debt Instrument [Line Items]    
Variable interest rate 4.00%