XML 59 R43.htm IDEA: XBRL DOCUMENT v3.8.0.1
Notes Payable (Narrative) (Details) - USD ($)
1 Months Ended 12 Months Ended
Jul. 31, 2017
Jun. 30, 2017
Feb. 28, 2013
Dec. 31, 2017
Dec. 31, 2016
Dec. 31, 2015
Debt Instrument [Line Items]            
Number of shares of common stock called by issuance of warrants     5,500,000   4,200,000  
Aggregate exercise price of common stock called by issuance of warrants     $ 2.63      
Warrants outstanding       0 0  
Repayment of notes payable       $ 4,500,000    
Future cash flows weighted average market yield       10.30% 10.60%  
Fair value of the financing derivative       $ 183,000 $ 356,000 $ 600,000
Notes payable, non-current       13,635,000 16,106,000  
Facility Agreement [Member]            
Debt Instrument [Line Items]            
Cash and cash equivalent minimum amount quarterly required     $ 2,000,000      
Facility agreement period     7 years      
Percentage of net proceeds from out side financing or equity component     25.00%      
Percentage of principal amount repaid     100.00%      
Notes [Member]            
Debt Instrument [Line Items]            
Principal amount of notes     $ 20,500,000      
Debt instrument, stated interest rate     8.75%      
Repayment of notes payable $ 4,500,000 $ 4,500,000        
Fair value of the notes     $ 14,100,000      
Fair value of the warrants     6,400,000      
Proceeds from issuance of debt     20,500,000      
Carrying value of the notes     12,800,000      
Original issue discount     $ 7,700,000      
Aggregate principal amount       16,000,000 20,500,000  
Debt discount that has yet to be amortized       2,400,000 4,400,000  
Notes payable, non-current       $ 13,600,000 $ 16,100,000  
Maturity date       Dec. 31, 2020