Leases - Supplemental Balance Sheet Information (Details) - USD ($) $ in Thousands  | 
Dec. 31, 2022  | 
Dec. 31, 2021  | 
|---|---|---|
| Operating leases: | ||
| Operating lease right-of-use assets | $ 10,656 | $ 12,168 | 
| Current operating lease liability | 5,447 | 5,942 | 
| Long-term operating lease liability | 4,913 | 5,918 | 
| Finance leases: | ||
| Property and equipment, net | 7,267 | 6,065 | 
| Accrued expenses and other current liabilities | 4,003 | 1,834 | 
| Other liabilities | $ 2,602 | $ 4,375 | 
| Finance Lease, Liability, Statement of Financial Position [Extensible Enumeration] | Property, plant and equipment, net | Property, plant and equipment, net | 
| Finance Lease, Liability, Current, Statement of Financial Position [Extensible Enumeration] | Accrued expenses and other current liabilities | Accrued expenses and other current liabilities | 
| Finance Lease, Liability, Noncurrent, Statement of Financial Position [Extensible Enumeration] | Other long-term liabilities | Other long-term liabilities | 
| X | ||||||||||
- Definition Finance Lease Assets and Liabilities Lessee [Abstract] No definition available. 
  | 
| X | ||||||||||
- Definition Operating Lease Assets and Liabilities Lessee [Abstract] No definition available. 
  | 
| X | ||||||||||
- Definition Present value of lessee's discounted obligation for lease payments from finance lease, classified as current. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
  | 
| X | ||||||||||
- Definition Indicates line item in statement of financial position that includes current finance lease liability. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
  | 
| X | ||||||||||
- Definition Present value of lessee's discounted obligation for lease payments from finance lease, classified as noncurrent. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
  | 
| X | ||||||||||
- Definition Indicates line item in statement of financial position that includes noncurrent finance lease liability. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
  | 
| X | ||||||||||
- Definition Amount, after accumulated amortization, of right-of-use asset from finance lease. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
  | 
| X | ||||||||||
- Definition Indicates line item in statement of financial position that includes finance lease right-of-use asset. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
  | 
| X | ||||||||||
- Definition Present value of lessee's discounted obligation for lease payments from operating lease, classified as current. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
  | 
| X | ||||||||||
- Definition Present value of lessee's discounted obligation for lease payments from operating lease, classified as noncurrent. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
  | 
| X | ||||||||||
- Definition Amount of lessee's right to use underlying asset under operating lease. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
  |