XML 52 R42.htm IDEA: XBRL DOCUMENT v3.23.2
Stock-based compensation - Schedule of stock-based compensation expense (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2023
Jun. 30, 2022
Jun. 30, 2023
Jun. 30, 2022
Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items]        
Total stock-based compensation expense $ 6,425 $ 8,148 $ 12,676 $ 17,086
Research and development        
Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items]        
Total stock-based compensation expense 2,644 3,776 5,227 7,388
General and administrative        
Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items]        
Total stock-based compensation expense $ 3,781 $ 4,372 $ 7,449 $ 9,698