XML 55 R44.htm IDEA: XBRL DOCUMENT v3.19.2
Long-term Debt - Additional Information (Details) - USD ($)
1 Months Ended 3 Months Ended 6 Months Ended 12 Months Ended
Oct. 31, 2018
Jan. 31, 2018
Jun. 30, 2019
Jun. 30, 2018
Jun. 30, 2019
Jun. 30, 2018
Dec. 31, 2019
Dec. 31, 2018
Nov. 30, 2018
Oct. 31, 2015
Apr. 30, 2014
Line of Credit Facility [Line Items]                      
Borrowings under term loan agreements               $ 60,400,000      
Minimum liquidity $ 2,000,000                    
Class Of Warrant Or Right, Number Of Securities Called By Warrants Or Rights, Future Draw, Percentage Of Diluted Shares Outstanding 0.30%                    
Debt Instrument, Unamortized Discount     $ 2,900,000   $ 2,900,000     2,000,000      
Term Loan Agreement                      
Line of Credit Facility [Line Items]                      
Interest Expense     1,900,000 $ 1,600,000 3,600,000 $ 3,200,000          
Credit facility, maximum borrowing capacity $ 100,000,000                   $ 45,000,000.0
Gain (Loss) on Extinguishment of Debt               $ 800,000      
Percentage of deferred payment                   3.00%  
Interest deferral period 6 years                    
Borrowings under term loan agreements     $ 81,300,000   $ 81,300,000            
Long term liability $ 1,900,000                    
Proceeds from (Repayments of) Debt 7,800,000                    
Long-term Debt, Gross 60,000,000                    
Repayments of Debt $ 50,400,000                    
Warrants Issued with Debt 341,578   128,932   128,932            
Class of Warrant or Right, Exercise Price of Warrants or Rights $ 21.12   $ 34.20   $ 34.20            
Premium on Exercise Price of Additional Warrants, Debt 25.00%                    
Warrants Not Settleable in Cash, Fair Value Disclosure $ 1,600,000   $ 1,000,000   $ 1,000,000            
Debt Instrument, Redemption Price, Percentage 4.00%                    
Term Loan Agreement | Forecast [Member]                      
Line of Credit Facility [Line Items]                      
Debt Instrument, Redemption Price, Percentage             3.00%        
Term Loan Agreement | Minimum                      
Line of Credit Facility [Line Items]                      
Percentage of accrue interest                   12.00%  
CRG Servicing LLC Amended And Restated Loan Agreement [Member]                      
Line of Credit Facility [Line Items]                      
Line of Credit Facility, Commitment Fee Percentage 2.00%                    
Percentage of accrue interest 10.50%                    
Percentage of deferred payment 3.00%                    
Revolving Credit Facility | Secured Revolving Loan Facility                      
Line of Credit Facility [Line Items]                      
Credit facility, maximum borrowing capacity   $ 15,000,000             $ 20,000,000    
Long-term Line of Credit     0   0            
Variable rate   4.75%                  
Percentage of accrue interest   8.75%                  
Prime Rate | Revolving Credit Facility | Secured Revolving Loan Facility                      
Line of Credit Facility [Line Items]                      
Variable rate   0.50%                  
Debt Instrument, Redemption, Period One [Member] | Term Loan Agreement                      
Line of Credit Facility [Line Items]                      
Line of Credit Facility, Current Borrowing Capacity     $ 20,000,000   $ 20,000,000            
Debt Instrument, Redemption, Period Two [Member] | Term Loan Agreement                      
Line of Credit Facility [Line Items]                      
Line of Credit Facility, Current Borrowing Capacity $ 20,000,000