XML 37 R28.htm IDEA: XBRL DOCUMENT v3.21.2
Stock-Based Compensation - Summary of Stock-based Compensation Expense Included in Statements of Operations (Detail) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2021
Sep. 30, 2020
Sep. 30, 2021
Sep. 30, 2020
Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items]        
Stock-based compensation expense $ 15,546 $ 21,372 $ 50,735 $ 63,227
Cost of product sales        
Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items]        
Stock-based compensation expense 439 495 1,025 2,087
Research and development        
Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items]        
Stock-based compensation expense 5,176 7,953 17,325 23,645
Selling, general and administrative        
Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items]        
Stock-based compensation expense $ 9,931 $ 12,924 $ 32,385 $ 37,495