XML 57 R45.htm IDEA: XBRL DOCUMENT v3.10.0.1
Loans Payable (Details)
$ in Thousands
1 Months Ended 3 Months Ended 9 Months Ended
Mar. 31, 2017
USD ($)
Sep. 30, 2018
USD ($)
Sep. 30, 2017
USD ($)
Sep. 30, 2018
USD ($)
Payment
Sep. 30, 2017
USD ($)
Dec. 31, 2017
USD ($)
Line of Credit Facility [Abstract]            
Loans payable, current   $ 2,750   $ 2,750   $ 0
Amortization expense, deferred debt issuance costs and debt discounts   374 $ 471 1,297 $ 1,391  
Unamortized deferred debt issuance cost and deferred debt discounts   3,196   3,196   $ 4,493
Perceptive Credit Opportunities Fund, LP [Member] | Line of Credit [Member]            
Line of Credit Facility [Abstract]            
Borrowing amount   $ 45,000   $ 45,000    
Warrant to purchase senior common equity interest ratio to fully diluted common units   4.50%   4.50%    
Credit facility, remaining borrowing capacity $ 5,000          
Credit facility, maximum borrowing capacity   $ 50,000   $ 50,000    
Debt maturity date       Dec. 16, 2020    
Debt instrument base rate   2.00%   2.00%    
Debt instrument variable interest rate       9.75%    
Loans payable, current   $ 2,750   $ 2,750    
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%   11.75%    
Financial covenant requirement, monthly cash balance   $ 4,000   $ 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 2019 [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)