XML 60 R47.htm IDEA: XBRL DOCUMENT v3.8.0.1
Debt - Narrative (Details) - USD ($)
3 Months Ended 6 Months Ended 12 Months Ended
Dec. 31, 2017
Dec. 31, 2017
Dec. 31, 2019
Dec. 31, 2018
Dec. 31, 2017
Jun. 30, 2018
Dec. 31, 2016
Sep. 02, 2016
Debt Instrument [Line Items]                
Fair value of warrant $ 11,466,162 $ 11,466,162     $ 11,466,162   $ 6,727,409  
London Interbank Offered Rate (LIBOR) | Loan Agreement                
Debt Instrument [Line Items]                
Margin for term loan         11.50%      
Debt instrument, interest rate during period         18.80%      
Warrants                
Debt Instrument [Line Items]                
Fair value of warrant 11,500,000 11,500,000     $ 11,500,000     $ 5,800,000
Secured Debt | Loan Agreement                
Debt Instrument [Line Items]                
Line of credit facility 80,000,000 80,000,000     80,000,000     80,000,000
Interest expense, debt         14,800,000      
Interest paid on term loan         10,300,000      
Amortization of debt issuance costs 4,500,000              
Debt instrument, fee amount 4,000,000 4,000,000     $ 4,000,000      
Line of credit facility, minimum cash requirement   10,000,000            
Potential increase in interest rate         2.00%      
Debt issuance costs, gross               $ 8,200,000
Remaining borrowing capacity 71,100,000 71,100,000     $ 71,100,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 25,000,000     $ 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 $ 50,000,000     $ 50,000,000      
Secured Debt | Scenario, Forecast | Loan Agreement                
Debt Instrument [Line Items]                
Additional borrowing capacity           $ 5,000,000    
Line of credit facility, minimum cash requirement     $ 20,000,000 $ 5,000,000