XML 59 R48.htm IDEA: XBRL DOCUMENT v3.22.2
Stock-based compensation - Summary of Stock-Based Compensation Expense by Award Type (Detail) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2022
Jun. 30, 2021
Jun. 30, 2022
Jun. 30, 2021
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Stock-based compensation expense $ 8,907 $ 23,126 $ 21,298 $ 54,420
Stock options        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Stock-based compensation expense 3,685 13,863 8,945 30,289
Restricted stock units        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Stock-based compensation expense 4,850 5,956 11,884 16,173
Employee stock purchase plan and other        
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]        
Stock-based compensation expense $ 372 $ 3,307 $ 469 $ 7,958