Summary of significant accounting policies- Summary of property and equipment - useful lives (Details) |
12 Months Ended |
|---|---|
Dec. 31, 2022 | |
| Laboratory equipment | |
| Property Plant And Equipment [Line Items] | |
| Estimated useful life | 5 years |
| Computer equipment | |
| Property Plant And Equipment [Line Items] | |
| Estimated useful life | 3 years |
| Office equipment, furniture and fixtures | |
| Property Plant And Equipment [Line Items] | |
| Estimated useful life | 5 years |
| Leasehold improvements | |
| Property Plant And Equipment [Line Items] | |
| Property, plant and equipment, useful life | Lesser of useful life or remaining lease term |