Property and equipment - Summary of property and equipment (Details) - USD ($) $ in Thousands |
Dec. 31, 2022 |
Dec. 31, 2021 |
|---|---|---|
| Property Plant And Equipment [Line Items] | ||
| Total property and equipment | $ 15,523 | $ 10,024 |
| Less: accumulated depreciation | (8,123) | (6,916) |
| Total property and equipment, net | 7,400 | 3,108 |
| Laboratory equipment | ||
| Property Plant And Equipment [Line Items] | ||
| Total property and equipment | 8,757 | 8,276 |
| Leasehold improvements | ||
| Property Plant And Equipment [Line Items] | ||
| Total property and equipment | 4,682 | 541 |
| Furniture and fixtures | ||
| Property Plant And Equipment [Line Items] | ||
| Total property and equipment | 1,181 | 805 |
| Office equipment | ||
| Property Plant And Equipment [Line Items] | ||
| Total property and equipment | 529 | 179 |
| Computer equipment | ||
| Property Plant And Equipment [Line Items] | ||
| Total property and equipment | 191 | 223 |
| Construction in progress | ||
| Property Plant And Equipment [Line Items] | ||
| Total property and equipment | $ 183 | $ 0 |