XML 62 R52.htm IDEA: XBRL DOCUMENT v3.10.0.1
Stock-based compensation - Summary of Stock-Based Compensation Expense by Award Type (Detail) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2018
Sep. 30, 2017
Sep. 30, 2018
Sep. 30, 2017
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]        
Stock-based compensation expense $ 29,797 $ 13,983 $ 80,849 $ 38,953
Stock Options [Member]        
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]        
Stock-based compensation expense 22,663 10,786 60,890 30,892
Restricted Stock Units [Member]        
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]        
Stock-based compensation expense 6,918 3,067 19,413 7,659
Employee Stock Purchase Plan [Member]        
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]        
Stock-based compensation expense $ 216 $ 130 $ 546 $ 402