Leases - Schedule of long-term operating lease liabilities (Details) $ in Thousands |
Dec. 31, 2022
USD ($)
|
|---|---|
| Leases [Abstract] | |
| 2023 | $ 3,301 |
| 2024 | 3,117 |
| 2025 | 2,670 |
| 2026 | 1,268 |
| 2027 | 904 |
| Thereafter | 768 |
| Total lease payments | 12,028 |
| Less: imputed interest | 2,410 |
| Lease liabilities | $ 9,618 |
| Operating Lease, Liability, Statement of Financial Position [Extensible Enumeration] | Other Liabilities, Noncurrent |
| Weighted-average remaining lease term (years) | 4 years 2 months 12 days |
| Weighted-average discount rate | 11.80% |