| 
           Income Taxes (Details) (USD $) 
        In Thousands, unless otherwise specified  | 
        3 Months Ended | 6 Months Ended | ||
|---|---|---|---|---|
| 
           Jun. 30, 2014 
         | 
        
           Jun. 30, 2013 
         | 
        
           Jun. 30, 2014 
         | 
        
           Jun. 30, 2013 
         | 
      |
| Effective tax rate | 96.90% | (13.30%) | 164.80% | 2.20% | 
| Change in fair value of earn-out obligation | $ 628 | $ (6,867) | ||
| X | ||||||||||
| 
             
- Definition 
          Amount of increase (decrease) in the value of a contingent consideration liability, including, but not limited to, differences arising upon settlement. Reference 1: http://www.xbrl.org/2003/role/presentationRef 
  | 
        
| X | ||||||||||
| 
             
- Definition 
          Percentage of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations. Reference 1: http://www.xbrl.org/2003/role/presentationRef 
  |