v3.22.4
Stock-based compensation - Schedule of stock-based compensation expense (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items]    
Total stock-based compensation expense $ 30,016 $ 21,512
Research and development    
Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items]    
Total stock-based compensation expense 13,108 7,526
General and administrative    
Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items]    
Total stock-based compensation expense $ 16,908 $ 13,986