XML 62 R52.htm IDEA: XBRL DOCUMENT v3.22.2
Stock-based compensation - Schedule of stock-based compensation expense (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2022
Jun. 30, 2021
Jun. 30, 2022
Jun. 30, 2021
Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items]        
Total stock-based compensation expense $ 8,148 $ 5,228 $ 17,086 $ 9,073
Research and development        
Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items]        
Total stock-based compensation expense 3,776 1,940 7,388 3,111
General and administrative        
Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items]        
Total stock-based compensation expense $ 4,372 $ 3,288 $ 9,698 $ 5,962