DEBT - Summary of debt (Details) (USD $)
In Thousands, unless otherwise specified
Jun. 30, 2014
Dec. 31, 2013
Debt Instrument [Line Items]    
Long-term debt, total $ 25,167 $ 1,108
Less current portion of long-term debt 3,446 633
Noncurrent portion of long-term debt 21,721 475
Seller financed note payable, with interest at 4.25%, due September 2015
   
Debt Instrument [Line Items]    
Long-term debt, total 792 1,108
Note payable to Silicon Valley Bank with interest of prime rate or LIBOR rate plus margin, due May 2019
   
Debt Instrument [Line Items]    
Long-term debt, total $ 24,375