Leases - Supplemental balance sheet information (Details) - USD ($) $ in Thousands |
Dec. 31, 2023 |
Dec. 31, 2022 |
|---|---|---|
| Leases | ||
| Operating lease assets | $ 92,972 | $ 130,454 |
| Other current liabilities | $ 36,618 | $ 60,203 |
| Operating Lease, Liability, Current, Statement of Financial Position [Extensible List] | Other Accrued Liabilities, Current | Other Accrued Liabilities, Current |
| Operating lease liabilities | $ 61,381 | $ 75,142 |
| Total operating lease liabilities | $ 97,999 | $ 135,345 |
| Operating Lease, Liability, Statement of Financial Position [Extensible List] | Operating lease liabilities, Other Accrued Liabilities, Current | Operating lease liabilities, Other Accrued Liabilities, Current |
| Property and equipment, gross | $ 4,344,935 | $ 4,431,071 |
| Accumulated depreciation | (3,536,870) | (3,440,185) |
| Property and equipment, net | 808,065 | 990,886 |
| Other current liabilities | $ 31,104 | $ 38,102 |
| Finance Lease, Liability, Current, Statement of Financial Position [Extensible Enumeration] | Long-term Debt and Capital Lease Obligations, Current | Long-term Debt and Capital Lease Obligations, Current |
| Other long-term liabilities | $ 31,104 | |
| Finance Lease, Liability, Noncurrent, Statement of Financial Position [Extensible Enumeration] | Long-term Debt, Excluding Current Maturities | Long-term Debt, Excluding Current Maturities |
| Total finance lease liabilities | $ 31,104 | $ 69,206 |
| Finance Lease, Liability, Statement of Financial Position [Extensible Enumeration] | Contract with Customer, Liability, Noncurrent and Other Long Term Liabilities | Contract with Customer, Liability, Noncurrent and Other Long Term Liabilities |
| Weighted Average Remaining Lease Term: Operating leases | 4 years 1 month 6 days | 3 years 8 months 12 days |
| Weighted Average Remaining Lease Term: Finance leases | 9 months 18 days | 1 year 9 months 18 days |
| Weighted Average Discount Rate: Operating leases | 8.30% | 7.20% |
| Weighted Average Discount Rate: Finance leases | 10.00% | 10.00% |
| Property and equipment | ||
| Leases | ||
| Property and equipment, gross | $ 175,704 | $ 175,704 |
| Accumulated depreciation | (149,917) | (115,469) |
| Property and equipment, net | $ 25,787 | $ 60,235 |
| X | ||||||||||
- Definition Amount of accumulated depreciation, depletion and amortization for physical assets used in the normal conduct of business to produce goods and services. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Present value of lessee's discounted obligation for lease payments from finance lease. 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 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 Indicates line item in statement of financial position that includes finance lease liability. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Weighted average discount rate for finance lease calculated at point in time. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Weighted average remaining lease term for finance lease, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Present value of lessee's discounted obligation for lease payments from operating lease. 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 Indicates line item in statement of financial position that includes current operating lease liability. 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 Indicates line item in statement of financial position that includes operating lease liability. 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
|
| X | ||||||||||
- Definition Weighted average discount rate for operating lease calculated at point in time. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Weighted average remaining lease term for operating lease, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount before accumulated depreciation, depletion and amortization of physical assets used in the normal conduct of business and not intended for resale. Examples include, but are not limited to, land, buildings, machinery and equipment, office equipment, and furniture and fixtures. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount after accumulated depreciation, depletion and amortization of physical assets used in the normal conduct of business to produce goods and services and not intended for resale. Examples include, but are not limited to, land, buildings, machinery and equipment, office equipment, and furniture and fixtures. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Details
|