Annual report pursuant to Section 13 and 15(d)

Stockholders' Equity - Additional Information (Detail)

v3.6.0.2
Stockholders' Equity - Additional Information (Detail)
$ / shares in Units, $ in Thousands
12 Months Ended
Jun. 22, 2015
shares
Mar. 25, 2014
USD ($)
$ / shares
shares
Dec. 31, 2016
USD ($)
Installment
$ / shares
shares
Dec. 31, 2015
USD ($)
$ / shares
shares
Dec. 31, 2014
USD ($)
$ / shares
shares
Dec. 07, 2016
USD ($)
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]            
Preferred shares authorized     5,000,000      
Proceeds from public offering of common stock, net of issuance costs | $         $ 93,796  
Stock option maximum term     3 years 10 months 6 days      
Specified stockholder ownership percentage     10.00%      
Purchase price of common stock percent under stock incentive plans for specified stockholder     110.00%      
Stock option maximum term for specified stockholder     5 years      
Share of common stock subject to a stock option or stock appreciation right     100.00%      
Fixed ratio shares of common stock     1.33      
Intrinsic value of options exercised | $     $ 100 $ 6,400 20,400  
Options outstanding, Aggregate Intrinsic Value | $     41      
Options exercisable, Aggregate Intrinsic Value | $     41      
Options vested and expected to vest, aggregate intrinsic value | $     $ 0 14,000 49,400  
Restricted stock units awarded     60,000      
Total payments for the employees' tax obligations to taxing authorities | $     $ 776 $ 1,546 $ 4,556  
Share-Based Compensation Awards, Tranche 2 [Member]            
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]            
Stock options granted vesting percentage     0.33%      
Share-Based Compensation Awards, Tranche 3 [Member]            
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]            
Stock options granted vesting percentage     0.33%      
ATM Agreement [Member]            
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]            
Common stock issuable and sellable under offering agreement | $           $ 75,000
2013 Stock Incentive Plan [Member]            
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]            
Percent of fair value per share of common stock on option grant date     100.00%      
Stock options vesting period     4 years      
Stock options expiration term     10 years      
Stock reserved for issuance under plan     14,100,000      
Additional shares authorized under 2013 stock incentive plan 5,300,000   4,400,000      
Shares reserved for issuance of future awards     3,492,191      
2004 Stock Incentive Plan [Member]            
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]            
Stock reserved for issuance under plan     9,700,000      
2010 Employee Stock Purchase Plan [Member]            
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]            
Percent of fair value per share of common stock on option grant date     85.00%      
Stock reserved for issuance under plan     2,100,000      
Purchase plan offering period     2 years      
Purchase plan purchase period     6 months      
Shares reserved for issuance of future awards     1,089,668      
Maximum [Member] | 2013 Stock Incentive Plan [Member]            
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]            
Stock option maximum term     10 years      
Employee Stock Options [Member]            
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]            
Shares subject to repurchase rights     0      
Employee Stock Options [Member] | 2013 Stock Incentive Plan [Member]            
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]            
Share based vesting rights     Options granted under the 2013 Plan generally vest over four years at a rate of 25 percent one year from the grant date and one thirty-sixth per month thereafter and expire ten years after the grant, or earlier upon employment termination.      
Stock options granted vesting percentage     25.00%      
Restricted Stock Units (RSUs) [Member]            
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]            
Share based vesting rights     These awards will vest as follows: one-third of the award will vest in a series of three successive equal annual installments.      
Restricted stock units awarded     60,000 446,000 488,000  
Grant date fair value per award of restricted stock units | $ / shares     $ 5.16 $ 9.45 $ 14.05  
Share-based compensation arrangement by share-based payment award, number of vesting installment | Installment     3      
Aggregate fair value of RSUs vested in period | $     $ 4,800 $ 4,100 $ 3,200  
Shares withheld from issuance in order to pay employee taxes     165,181 172,807 309,102  
Restricted Stock Units (RSUs) [Member] | Share-Based Compensation Awards, Tranche 1 [Member]            
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]            
Stock options granted vesting percentage     0.33%      
Common Stock [Member]            
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]            
Public offering, common stock shares issued   4,444,444     4,444,444  
Public offering price of common stock issued | $ / shares   $ 22.50        
Proceeds from public offering of common stock, net of issuance costs | $   $ 93,800