Debt - Current and Non current (Details) - USD ($) $ in Thousands |
Dec. 31, 2022 |
Dec. 31, 2021 |
|---|---|---|
| Debt Disclosure [Abstract] | ||
| Principal amount of long‑term debt | $ 0 | $ 75,000 |
| Less: Current portion of long‑term debt | 0 | 0 |
| Long‑term debt, net of current portion | 0 | 75,000 |
| Accrued final interest payment | 0 | 1,654 |
| Debt discount | 0 | (500) |
| Long‑term debt, net of discount and current portion | $ 0 | $ 76,154 |