Debt (Tables)
12 Months Ended
Dec. 31, 2015
Debt Disclosure [Abstract]  
Schedule of debt
Debt consisted of the following as of December 31 (in thousands):
 
2014
 
2015
Amended Mezzanine Loan and Security Agreement
$
15,000

 
$

Discount on Amended Mezzanine Loan and Security Agreement
(773
)
 

Amended New Revolving Line of Credit
29,900

 
31,225

Total debt
44,127

 
31,225

Less: short-term debt

 
(31,225
)
Long-term debt, net
$
44,127

 
$

Schedule of future principal payments of long-term debt
Based on the Company's borrowings as of December 31, 2015, the future principal payments are as follows (in thousands):
Year Ending December 31,
 
2016
$
31,225

Thereafter

Short-term debt
$
31,225