XML 68 R51.htm IDEA: XBRL DOCUMENT v3.19.1
Debt - Senior Secured Debenture (Details) - USD ($)
12 Months Ended
Nov. 10, 2018
Nov. 05, 2018
May 10, 2016
Dec. 31, 2018
Dec. 31, 2017
Jul. 16, 2018
May 18, 2018
Dec. 29, 2017
Debt Instrument [Line Items]                
Warrants issued (in shares)           11,520,000   316,163
Outstanding principal         $ 10,200,000      
Principal redeemed       $ 2,800,000        
Debt instrument, redemption, principal amount redeemed, shares       659,529        
Debt amount redeemed, settled in cash       $ 600,000        
Decrease in restricted cash       1,800,000        
Gain on extinguishment of debt       766,000 0      
Securities Purchase Agreement | Secured Debt                
Debt Instrument [Line Items]                
Fixed coupon rate 9.00%   6.375%          
Principal amount of debt     $ 25,530,000          
Warrants issued (in shares)     3,333          
Proceeds from issuance of debt and warrants     $ 23,400,000          
Amendment Agreement | Secured Debt                
Debt Instrument [Line Items]                
Final payment of interest $ 800,000       800,000      
Debt instrument, covenant, compensating cash balance     $ 18,500,000          
Restricted cash         $ 10,200,000   $ 8,500,000  
JGB Action                
Debt Instrument [Line Items]                
Restricted cash   $ 1,600,000            
Balance of restricted cash over senior secured debenture   1,600,000            
Loss contingency, damages awarded, value   6,600,000            
Gain on reimbursement of legal fees   5,000,000            
Gain on extinguishment of debt   $ 800,000   $ 800,000