XML 59 R48.htm IDEA: XBRL DOCUMENT v3.8.0.1
Debt (Details) - USD ($)
3 Months Ended 9 Months Ended 12 Months Ended
Sep. 08, 2017
Dec. 31, 2016
Dec. 31, 2017
Dec. 31, 2016
Mar. 31, 2017
Apr. 30, 2016
Aug. 31, 2012
Summarized information about the term loan [Abstract]              
Less current portion of term loan     $ (3,068,000)   $ (3,064,000)    
Long-term portion of term loan     14,670,000   16,935,000    
WX Agreement [Abstract]              
Settlement of warrant     4,000,000 $ 0      
Total (gain) loss included in net loss     (2,313,000) (5,727,000)      
Credit Facility [Member]              
Credit Facility [Abstract]              
Maximum borrowing capacity     $ 145,000,000        
Debt instrument, maturity date     Jun. 03, 2020        
Credit Facility [Member] | Minimum [Member]              
Credit Facility [Abstract]              
Facility fee on total leverage ratio     0.25%        
Credit Facility [Member] | Maximum [Member]              
Credit Facility [Abstract]              
Dividend payments, annual maximum amount permitted     $ 15,000,000   $ 10,000,000    
Facility fee on total leverage ratio     0.375%        
Credit Facility [Member] | LIBOR [Member]              
Credit Facility [Abstract]              
Reference interest rate under option 1, floor     2.50%        
Interest rate over LIBOR rate under option 1     2.75%        
Interest rate above base rate under option 2     3.00%        
Credit Facility [Member] | Reference Rate [Member]              
Credit Facility [Abstract]              
Reference interest rate under option 1, floor     1.50%        
Interest rate over LIBOR rate under option 1     1.75%        
Interest rate above base rate under option 2     2.00%        
Credit Facility [Member] | Term Loans [Member]              
Credit Facility [Abstract]              
Maximum borrowing capacity     $ 25,000,000        
Quarterly principal payments     $ 781,250        
Interest rate at end of period     4.12%   3.29%    
Summarized information about the term loan [Abstract]              
Principal amount of term loan     $ 17,969,000   $ 20,312,000    
Unamortized financing fees     (231,000)   (313,000)    
Net carrying amount of term loan     17,738,000   19,999,000    
Less current portion of term loan     (3,068,000)   (3,064,000)    
Long-term portion of term loan     14,670,000   16,935,000    
Future repayments of the Term Loan, by fiscal year [Abstract]              
2018 - remaining three months     781,000        
2019     3,125,000        
2020     3,125,000        
2021     10,938,000        
Total payments     $ 17,969,000   $ 20,312,000    
Credit Facility [Member] | Revolving Facility [Member]              
Credit Facility [Abstract]              
Maximum borrowing capacity           $ 120,000,000  
Interest rate at end of period     4.33%   3.55%    
Future repayments of the Term Loan, by fiscal year [Abstract]              
Outstanding balance under revolving loan     $ 36,000,000   $ 11,000,000    
Amount available under revolving facility     83,140,000        
Credit Facility [Member] | Revolving Facility [Member] | Letters of Credit [Member]              
Credit Facility [Abstract]              
Maximum borrowing capacity     15,000,000        
Credit Facility [Member] | Revolving Facility [Member] | Standby Letters of Credit [Member]              
Future repayments of the Term Loan, by fiscal year [Abstract]              
Outstanding balance under revolving loan     260,000        
Credit Facility [Member] | Revolving Facility [Member] | Commercial Letters of Credit [Member]              
Future repayments of the Term Loan, by fiscal year [Abstract]              
Outstanding balance under revolving loan     600,000        
WX Agreement [Member] | Supplier Warrant [Member]              
WX Agreement [Abstract]              
Number of shares that can be purchased under warrants (in shares)             516,129
Initial exercise price (in dollars per share)             $ 7.75
Settlement of warrant $ 4,000,000            
Fair value of warrants issued $ 9,566,000       $ 11,879,000    
Dividend yield 0.00%            
Expected volatility 26.40%            
Risk free interest rate 0.96%            
Subsequent financing probability 0.00%            
Expected life 22 days            
Total (gain) loss included in net loss   $ (962,000) $ (2,313,000) $ (5,727,000)