XML 119 R58.htm IDEA: XBRL DOCUMENT v3.6.0.2
Stock-based compensation - Additional Information (Detail) - USD ($)
$ / shares in Units, $ in Thousands
1 Months Ended 12 Months Ended
Jan. 31, 2017
Jan. 31, 2016
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2014
Jun. 24, 2013
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]            
Increased number of issuance of awards under the 2013 Plan   1,500,000        
Number of shares available for issuance     1,200,000      
Stock-based compensation expense     $ 39,756 $ 41,120 $ 10,763  
Intrinsic value of stock options exercised     $ 15,300 $ 147,900 $ 41,400  
Weighted average grant date fair value of options granted     $ 34.22 $ 74.65 $ 18.53  
Incremental value on option valuation         $ 600  
Research And Development Expense [Member]            
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]            
Stock-based compensation expense     $ 19,690 $ 24,854 5,151  
Restricted Stock Awards [Member]            
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]            
Stock-based compensation expense         52  
Unvested restricted stock awards outstanding     0 0    
Restricted stock awards granted     0      
Aggregate fair value of stock awards vested         1,900  
Stock Options [Member]            
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]            
Stock-based compensation expense     $ 33,966 $ 37,536 9,487  
Unrecognized stock- based compensation expense related to unvested stock options, restricted stock awards and employee stock purchase plan     $ 69,500      
Expected weighted-average period related to unvested stock options, restricted stock awards and employee stock purchase plan     2 years 6 months      
Restricted Stock Units [Member]            
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]            
Stock-based compensation expense     $ 5,374 $ 3,325 1,158  
Unvested restricted stock awards outstanding     263,000 148,000    
Restricted stock awards granted     263,000      
Unrecognized stock- based compensation expense related to unvested stock options, restricted stock awards and employee stock purchase plan     $ 11,900      
Expected weighted-average period related to unvested stock options, restricted stock awards and employee stock purchase plan     2 years 9 months 18 days      
Employee Stock Purchase Plan [Member]            
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]            
Common shares reserved for future issuance     238,000      
Stock-based compensation expense     $ 416 $ 259 $ 66  
Unrecognized stock- based compensation expense related to unvested stock options, restricted stock awards and employee stock purchase plan     $ 100      
Expected weighted-average period related to unvested stock options, restricted stock awards and employee stock purchase plan     1 month 6 days      
Shares of common stock issued under plan     18,338 10,545    
Non Employee Stock Option [Member] | Research And Development Expense [Member]            
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]            
Incremental value on option valuation       $ 10,300    
Subsequent Event [Member]            
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]            
Increased number of issuance of awards under the 2013 Plan 1,600,000          
2013 Stock Option and Incentive Plan [Member]            
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]            
Common shares reserved for future issuance           955,000
2013 Stock Option and Incentive Plan [Member] | Maximum [Member]            
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]            
Percentage of automatic increase in shares reserved and available for issuance determined based on shares outstanding     4.00%