XML 51 R40.htm IDEA: XBRL DOCUMENT v3.8.0.1
Stock-based Compensation - Stock-Based Compensation Expense for Options Granted, Restricted Stock and Stock Purchase Rights as Reflected in Statement of Operations (Detail) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2017
Sep. 30, 2016
Sep. 30, 2017
Sep. 30, 2016
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Stock-based compensation expense $ 6,557 $ 4,099 $ 18,072 $ 11,514
Selling, general and administrative        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Stock-based compensation expense 4,995 3,406 14,032 9,295
Research and development        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Stock-based compensation expense $ 1,562 $ 693 $ 4,040 $ 2,219