XML 71 R38.htm IDEA: XBRL DOCUMENT v3.7.0.1
Debt - MidCap Facility Agreement (Details) - Amended credit facility with MidCap - USD ($)
3 Months Ended 12 Months Ended
Mar. 31, 2017
Dec. 31, 2018
Dec. 31, 2017
Line of Credit Facility [Line Items]      
Unamortized debt discount $ 1,900,000    
Line of credit | Maximum      
Line of Credit Facility [Line Items]      
Debt default, interest rate increase 5.00%    
Forecast      
Line of Credit Facility [Line Items]      
Monthly term loan payments   $ 300,000 $ 200,000
Revolving credit facility      
Line of Credit Facility [Line Items]      
Maximum borrowing capacity $ 22,500,000    
Line of credit $ 10,300,000    
Interest rate 6.80%    
Revolving credit facility | LIBOR      
Line of Credit Facility [Line Items]      
Interest rate description LIBOR plus 6.0%    
Basis spread 6.00%    
Term loan      
Line of Credit Facility [Line Items]      
Maximum borrowing capacity $ 5,000,000    
Line of credit $ 4,200,000    
Floor on interest rate 9.50%    
Interest rate 9.50%    
Term loan | LIBOR      
Line of Credit Facility [Line Items]      
Interest rate description ("LIBOR") plus 8.0%    
Basis spread 8.00%