XML 52 R43.htm IDEA: XBRL DOCUMENT v3.23.1
Stock-based compensation - Summary of Stock-Based Compensation Expense by Award Type (Detail) - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2023
Mar. 31, 2022
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]    
Stock-based compensation expense $ 5,391 $ 12,390
Stock options    
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]    
Stock-based compensation expense 1,723 5,260
Restricted stock units    
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]    
Stock-based compensation expense 3,668 7,034
Employee stock purchase plan and other    
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]    
Stock-based compensation expense $ 0 $ 96