XML 44 R33.htm IDEA: XBRL DOCUMENT v3.7.0.1
Notes Payable (Narrative) (Details) - USD ($)
1 Months Ended 3 Months Ended
Feb. 28, 2013
Mar. 31, 2017
Dec. 31, 2016
Mar. 31, 2016
Dec. 31, 2015
Debt Instrument [Line Items]          
Principal amount of notes $ 20,500,000        
Number of shares of common stock called by issuance of warrants 5,500,000   4,200,000 3,818,000  
Aggregate exercise price of common stock called by issuance of warrants $ 2.63   $ 2.63    
Warrants outstanding   0 5,500,000    
Future cash flows weighted average market yield   10.10% 10.60%   13.50%
Fair value of the financing derivative   $ 208,000 $ 356,000   $ 600,000
Fair value of the warrants $ 6,400,000        
Notes payable, current   3,123,000      
Notes [Member]          
Debt Instrument [Line Items]          
Fair value of the notes $ 14,100,000        
Debt discount that has yet to be amortized   $ 4,000,000 $ 4,300,000    
Maturity date   Feb. 01, 2020      
Deerfield promissory notes [Member]          
Debt Instrument [Line Items]          
Debt instrument, stated interest rate 8.75%        
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%        
Cash and cash equivalent minimum amount quarterly required $ 2,000,000        
Proceeds from issuance of debt 20,500,000        
Carrying value of the notes 12,800,000        
Original issue discount $ 7,700,000        
Notes payable, current   $ 3,100,000