Commitments and Contingencies - Lease costs (Details) - USD ($) $ in Thousands |
3 Months Ended | 6 Months Ended | 12 Months Ended | ||
|---|---|---|---|---|---|
Jun. 30, 2024 |
Jun. 30, 2023 |
Jun. 30, 2024 |
Jun. 30, 2023 |
Dec. 31, 2023 |
|
| Commitments and Contingencies | |||||
| Total lease costs | $ 1,000 | $ 100 | $ 1,300 | $ 300 | |
| Weighted-average incremental borrowing rate used to determine right-of-use assets and lease liabilities | 11.00% | 11.00% | |||
| Impairment losses of ROU assets | $ 757 | $ 0 | |||
| Maximum | |||||
| Commitments and Contingencies | |||||
| Short-term operating lease costs | $ 100 | $ 100 | $ 100 | $ 100 | |