| 
           Commitments and Contingencies - Additional Information (Detail) (USD $) 
        In Thousands, unless otherwise specified  | 
        3 Months Ended | 6 Months Ended | 3 Months Ended | 6 Months Ended | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 
           Jun. 30, 2014 
         | 
        
           Jun. 30, 2013 
         | 
        
           Jun. 30, 2014 
         | 
        
           Jun. 30, 2013 
         | 
        
           Jun. 30, 2014
 
          Mcg Acquisition
 
          Contingent Consideration 
         | 
        
           Jun. 30, 2013
 
          Mcg Acquisition
 
          Contingent Consideration 
         | 
        
           Jun. 30, 2014
 
          Additional Office Space 
         | 
        
           Jun. 30, 2014
 
          Office Equipment 
         | 
        
           Dec. 31, 2013
 
          Office Equipment 
         | 
        
           Aug. 31, 2010
 
          Leasehold Improvements 
         | 
        
           Dec. 31, 2006
 
          Leasehold Improvements 
         | 
        
           Aug. 31, 2014
 
          Leasehold Improvements
 
          Scenario, Forecast 
         | 
        
           Jun. 30, 2014
 
          General, Administrative and Other Expenses 
         | 
        
           Jun. 30, 2013
 
          General, Administrative and Other Expenses 
         | 
        
           Jun. 30, 2014
 
          General, Administrative and Other Expenses 
         | 
        
           Jun. 30, 2013
 
          General, Administrative and Other Expenses 
         | 
      |
| Commitments And Contingencies [Line Items] | ||||||||||||||||
| Operating lease rent expense | $ 897 | $ 859 | $ 1,798 | $ 1,761 | ||||||||||||
| Sub-lease income | 95 | 188 | 196 | 473 | ||||||||||||
| Operating lease rent expense, net | 5 | 802 | 671 | 1,602 | 1,288 | |||||||||||
| Letters of credit in favor of landlord | 1,013 | 2,023 | 506 | |||||||||||||
| Refundable security deposit | 3 | |||||||||||||||
| Lease commencement date | 2014-05-01 | |||||||||||||||
| Lease expires | Jul. 31, 2019 | Nov. 30, 2018 | ||||||||||||||
| Rent for free periods | rent-free period of three months | |||||||||||||||
| Capital lease obligation | 239 | 19 | ||||||||||||||
| Asset acquired under capital lease | 289 | 289 | ||||||||||||||
| Capital lease, period | 5 years | |||||||||||||||
| Capital lease, minimum monthly payment | 5 | |||||||||||||||
| Contingent consideration percentage of EBITDA | 22.00% | |||||||||||||||
| Number of years contingent consideration adjusted annual EBITDA | 5 years | |||||||||||||||
| Contingent consideration payments | 1,679 | 703 | ||||||||||||||
| Payments recorded as compensation expense | $ 0 | $ 99 | ||||||||||||||