Marketable securities - Additional Information (Details) - USD ($) $ in Millions |
3 Months Ended | 12 Months Ended |
---|---|---|
Mar. 31, 2023 |
Dec. 31, 2022 |
|
Marketable Securities [Line Items] | ||
Remaining contractual maturities of marketable securities term | 12 months | 12 months |
Unrealized losses on marketable securities | $ 0.4 | $ 0.8 |