XML 59 R48.htm IDEA: XBRL DOCUMENT v3.19.1
Loans Payable (Details)
$ in Thousands
1 Months Ended 3 Months Ended
Mar. 31, 2017
USD ($)
Mar. 31, 2019
USD ($)
Payment
Mar. 31, 2018
USD ($)
Dec. 31, 2018
USD ($)
Line of Credit Facility [Abstract]        
Loans payable, current   $ 6,850   $ 4,600
Amortization expense, deferred debt issuance costs and debt discounts   389 $ 458  
Unamortized deferred debt issuance cost and deferred debt discounts   2,408   2,797
Perceptive Credit Opportunities Fund, LP [Member] | Line of Credit [Member]        
Line of Credit Facility [Abstract]        
Borrowing amount   $ 45,000    
Warrant to purchase senior common equity interest ratio to fully diluted common units   4.50%    
Credit facility, remaining borrowing capacity $ 5,000      
Credit facility, maximum borrowing capacity   $ 50,000    
Debt maturity date   Dec. 16, 2020    
Debt instrument base rate   2.00%    
Debt instrument variable interest rate   9.75%    
Loans payable, current   $ 6,850   $ 4,600
Financial covenant requirement, Consecutive period for maintaining minimum revenues   12 months    
Perceptive Credit Opportunities Fund, LP [Member] | Line of Credit [Member] | Minimum [Member]        
Line of Credit Facility [Abstract]        
Debt instrument effective interest rate   11.75%    
Financial covenant requirement, monthly cash balance   $ 4,000    
Perceptive Credit Opportunities Fund, LP [Member] | Line of Credit [Member] | May 2019 [Member]        
Line of Credit Facility [Abstract]        
Frequency of periodic principal payment   Monthly    
Number of loan principal payments | Payment   7    
Monthly principal payment amount   $ 550    
Perceptive Credit Opportunities Fund, LP [Member] | Line of Credit [Member] | December 2020 [Member]        
Line of Credit Facility [Abstract]        
Frequency of periodic principal payment   Monthly    
Monthly principal payment amount   $ 750    
Perceptive Credit Opportunities Fund, LP [Member] | Line of Credit [Member] | LIBOR [Member]        
Line of Credit Facility [Abstract]        
Term of variable rate   1 month    
White Oaks Global Advisors, LLC [Member] | Line of Credit [Member]        
Line of Credit Facility [Abstract]        
Payment of existing debt obligation $ (37,500)