| 
           Commitments and Contingencies - Summary of Future Minimum Lease Payments and Rentals under Lease Agreements (Detail) (USD $) 
        In Thousands, unless otherwise specified  | 
        
           Jun. 30, 2014 
         | 
      
|---|---|
| 
           Minimum Lease Commitments 
         | 
        |
| Commitments And Contingencies [Line Items] | |
| Remainder of 2014 | $ 1,866 | 
| 2015 | 3,693 | 
| 2016 | 3,646 | 
| 2017 | 2,838 | 
| 2018 | 60 | 
| Thereafter | 36 | 
| Total | 12,139 | 
| 
           Non-cancellable Subleases 
         | 
        |
| Commitments And Contingencies [Line Items] | |
| Remainder of 2014 | (213) | 
| 2015 | (426) | 
| 2016 | (426) | 
| 2017 | (328) | 
| Total | (1,393) | 
| 
           Minimum Net Rentals 
         | 
        |
| Commitments And Contingencies [Line Items] | |
| Remainder of 2014 | 1,653 | 
| 2015 | 3,267 | 
| 2016 | 3,220 | 
| 2017 | 2,510 | 
| 2018 | 60 | 
| Thereafter | 36 | 
| Total | $ 10,746 | 
| X | ||||||||||
| 
             
- Details 
          
  | 
        
| X | ||||||||||
| 
             
- Definition 
          Operating Leases Future Minimum Payments Due From Current Sublease Rentals No definition available. 
  | 
        
| X | ||||||||||
| 
             
- Definition 
          Operating Leases Future Minimum Payments Due From Sublease Rentals No definition available. 
  | 
        
| X | ||||||||||
| 
             
- Definition 
          Operating Leases Future Minimum Payments Due From Sublease Rentals Year Four No definition available. 
  | 
        
| X | ||||||||||
| 
             
- Definition 
          Operating Leases Future Minimum Payments Due From Sublease Rentals Year Three No definition available. 
  | 
        
| X | ||||||||||
| 
             
- Definition 
          Operating Leases Future Minimum Payments Due From Sublease Rentals Year Two No definition available. 
  | 
        
| X | ||||||||||
| 
             
- Definition 
          Amount of required minimum rental payments for leases having an initial or remaining non-cancelable letter-terms in excess of one year. Reference 1: http://www.xbrl.org/2003/role/presentationRef 
  | 
        
| X | ||||||||||
| 
             
- Definition 
          Amount of required minimum rental payments maturing in the next fiscal year following the latest fiscal year for operating leases having an initial or remaining non-cancelable letter-terms in excess of one year. Reference 1: http://www.xbrl.org/2003/role/presentationRef 
  | 
        
| X | ||||||||||
| 
             
- Definition 
          Amount of required minimum rental payments maturing in the fifth fiscal year following the latest fiscal year for operating leases having an initial or remaining non-cancelable letter-terms in excess of one year. Reference 1: http://www.xbrl.org/2003/role/presentationRef 
  | 
        
| X | ||||||||||
| 
             
- Definition 
          Amount of required minimum rental payments maturing in the forth fiscal year following the latest fiscal year for operating leases having an initial or remaining non-cancelable letter-terms in excess of one year. Reference 1: http://www.xbrl.org/2003/role/presentationRef 
  | 
        
| X | ||||||||||
| 
             
- Definition 
          Amount of required minimum rental payments maturing in the third fiscal year following the latest fiscal year for operating leases having an initial or remaining non-cancelable letter-terms in excess of one year. Reference 1: http://www.xbrl.org/2003/role/presentationRef 
  | 
        
| X | ||||||||||
| 
             
- Definition 
          Amount of required minimum rental payments maturing in the second fiscal year following the latest fiscal year for operating leases having an initial or remaining non-cancelable letter-terms in excess of one year. Reference 1: http://www.xbrl.org/2003/role/presentationRef 
  | 
        
| X | ||||||||||
| 
             
- Definition 
          Amount of required minimum rental payments maturing after the fifth fiscal year following the latest fiscal year for operating leases having an initial or remaining non-cancelable letter-terms in excess of one year. Reference 1: http://www.xbrl.org/2003/role/presentationRef 
  |