XML 52 R43.htm IDEA: XBRL DOCUMENT v3.22.1
Stock-based compensation - Summary of Stock-Based Compensation Expense by Award Type (Detail) - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2022
Mar. 31, 2021
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]    
Stock-based compensation expense $ 12,390 $ 31,294
Stock options    
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]    
Stock-based compensation expense 5,260 16,426
Restricted stock units    
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]    
Stock-based compensation expense 7,034 10,217
Employee stock purchase plan and other    
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]    
Stock-based compensation expense $ 96 $ 4,651