XML 47 R36.htm IDEA: XBRL DOCUMENT v3.8.0.1
Debt - Narrative (Details) - USD ($)
3 Months Ended 12 Months Ended
Mar. 31, 2018
Dec. 31, 2019
Dec. 31, 2018
Jun. 30, 2018
Dec. 31, 2017
Sep. 02, 2016
Debt Instrument [Line Items]            
Fair value of warrant $ 14,769,276       $ 11,466,162  
London Interbank Offered Rate (LIBOR) | Loan Agreement            
Debt Instrument [Line Items]            
Margin for term loan 11.50%          
Effective interest rate (as a percent) 18.96%          
Warrants            
Debt Instrument [Line Items]            
Fair value of warrant $ 14,800,000         $ 5,800,000
Secured Debt | Loan Agreement            
Debt Instrument [Line Items]            
Line of credit facility 80,000,000         80,000,000
Interest expense, debt 3,700,000          
Interest paid on term loan 2,600,000          
Interest expense accreted to balance $ 1,100,000          
Potential increase in interest rate 2.00%          
Costs incurred           $ 8,200,000
Fees and expenses $ 4,000,000          
Remaining borrowing capacity $ 72,200,000          
Secured Debt | US Treasury Rate | Loan Agreement            
Debt Instrument [Line Items]            
Margin for term loan 0.50%          
Secured Debt | Repayment of Interests | Loan Agreement            
Debt Instrument [Line Items]            
Capacity available for specific purpose other than for trade purchases $ 25,000,000          
Secured Debt | Payments Related to Litigation | Loan Agreement            
Debt Instrument [Line Items]            
Capacity available for specific purpose other than for trade purchases $ 50,000,000          
Secured Debt | Forecast | Loan Agreement            
Debt Instrument [Line Items]            
Additional borrowing capacity       $ 5,000,000    
Minimum cash requirement   $ 20,000,000 $ 5,000,000