Annual report pursuant to Section 13 and 15(d)

Term Loan Agreements and Long Term Debt - MidCap Term Loan and Revolving Loan Agreement - Narrative (Details)

v3.10.0.1
Term Loan Agreements and Long Term Debt - MidCap Term Loan and Revolving Loan Agreement - Narrative (Details) - USD ($)
$ in Thousands
12 Months Ended
May 22, 2018
Oct. 25, 2016
Dec. 31, 2018
Dec. 31, 2017
Dec. 31, 2016
Debt Instrument [Line Items]          
Repayment of debt     $ 22,513 $ 21 $ 2,446
Payment of revolving credit facility     30,489 57,624 6,685
Interest expense     1,127 2,217 5,386
Amortization of Financing Costs and Discounts     $ 81 $ 246 $ 875
MidCap Term Loan Agreement          
Debt Instrument [Line Items]          
Number of monthly principal and interest payments     30    
Annual agency fee, percent of aggregate principal amount     0.25%    
Exit fee percent 5.00%   5.00%    
Prepayment fee percent, year one     3.00%    
Prepayment fee percent, year two     2.00%    
Prepayment fee percent, thereafter     1.00%    
Repayment of debt $ 22,599        
Prepayment and exit fees $ 1,470        
Prepayment fee percentage 2.00%        
Unamortized deferred financing costs $ 473        
MidCap Revolving Loan Agreement          
Debt Instrument [Line Items]          
Possible increase to loan agreement at Company's request   $ 15,000      
Collateral management fee, percent   0.50%      
Unused line fee, percent   0.50%      
Percent of borrowing base which accrues interest   30.00%      
Minimum prepayment amount 2,958        
Pre-payment fees $ 236