| Fair Value Measurements and Derivatives (Tables)
 | 3 Months Ended | 
| Mar. 31, 2025 | 
|---|
| Derivative Instruments And Hedging Activities Disclosure [Abstract] |  | 
| Schedule of derivatives measured at fair value and disclosed by balance sheet location | The derivatives measured at fair value and the respective location in the consolidated balance sheets include the following (in thousands): 
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  
|  |  |  |  | Assets |  | Liabilities |  
|  |  |  |  | March 31,  |  | December 31,  |  | March 31,  |  | December 31,  |  
|  |      | Balance Sheet Location |      | 2025 |      | 2024 |      | 2025 |      | 2024 |  
| Derivative Contracts Designated as Hedging Instruments |  |  |  |  |  |  |  |  |  |  |  |  |  
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  
| Fuel contracts |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  
|  |  | Prepaid expenses and other assets |  | $ |  3,153 |  | $ |  1,576 |  | $ |  1,483 |  | $ |  1,798 |  
|  |  | Other long-term assets |  |  |  6,171 |  |  |  650 |  |  |  72 |  |  |  208 |  
|  |  | Accrued expenses and other liabilities |  |  |  1,419 |  |  |  488 |  |  |  11,472 |  |  |  12,955 |  
|  |  | Other long-term liabilities |  |   |  873 |  |   |  648 |  |   |  1,203 |  |   |  2,030 |  
| Foreign currency contracts |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  
|  |  | Prepaid expenses and other assets |  |   |  709 |  |   |  — |  |   |  — |  |   |  — |  
|  |  | Other long-term assets |  |   |  720 |  |   |  — |  |   |  — |  |   |  — |  
|  |  | Accrued expenses and other liabilities |  |   |  — |  |   |  — |  |   |  — |  |   |  1,567 |  
|  |  | Other long-term liabilities |  |   |  — |  |   |  — |  |   |  271 |  |   |  17,427 |  
| Total derivatives designated as hedging instruments |  | $ |  13,045 |  | $ |  3,362 |  | $ |  14,501 |  | $ |  35,985 |  
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  
| Derivative Contracts Not Designated as Hedging Instruments |  |  |  |  |  |  |  |  |  |  |  |  |  
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  
| Fuel contracts |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  
|  |  | Prepaid expenses and other assets |  | $ |  239 |  | $ |  234 |  | $ |  — |  | $ |  — |  
|  |  | Accrued expenses and other liabilities |  |  |  89 |  |  |  — |  |  |  1,025 |  |  |  390 |  
|  |  | Other long-term liabilities |  |  |  — |  |   |  — |  |   |  — |  |   |  35 |  
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  
| Total derivatives not designated as hedging instruments |  | $ |  328 |  | $ |  234 |  | $ |  1,025 |  | $ |  425 |  
| Total derivatives |  |  |  | $ |  13,373 |  | $ |  3,596 |  | $ |  15,526 |  | $ |  36,410 |  | 
| Schedule of gross and net amounts recognized within assets and liabilities | The following table discloses the gross and net amounts recognized within assets and liabilities (in thousands):  
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  
|  |  |  |  |  | Gross  |  |  |  |  | Gross |  |  |  |  
|  |  | Gross  |  | Amounts  |  | Total Net |  | Amounts  |  |  |  |  
| March 31, 2025 |      | Amounts |      | Offset |      | Amounts |      | Not Offset |      | Net Amounts |  
| Assets |  | $ |  10,992 |  | $ |  (1,555) |  | $ |  9,437 |  | $ |  (1,429) |  | $ |  8,008 |  
| Liabilities |  |  |  13,971 |  |  |  (2,381) |  |  |  11,590 |  |  |  (271) |  |  |  11,319 |   
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  
|  |  |  |  |  | Gross  |  |  |  |  | Gross  |  |  |  |  
|  |  | Gross  |  | Amounts  |  | Total Net  |  | Amounts  |  |  |  |  
| December 31, 2024 |      | Amounts |      | Offset |      | Amounts |      | Not Offset |      | Net Amounts |  
| Assets |  | $ |  2,460 |  | $ |  (2,006) |  | $ |  454 |  | $ |  — |  | $ |  454 |  
| Liabilities |  |  |  34,404 |  |  |  (1,136) |  |  |  33,268 |  |  |  (18,994) |  |  |  14,274 |  | 
| Schedule of effects of cash flow hedge accounting on accumulated other comprehensive income (loss) | The effects of cash flow hedge accounting on accumulated other comprehensive income (loss) were as follows (in thousands):   
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  
|  |  |  |  |  |  |  |  | Location of Gain |      |  |  |      |  |  |  
|  |  |  |  |  |  |  |  | (Loss) Reclassified |  |  |  |  |  |  |  
|  |  |  |  |  |  |  |  | from Accumulated |  | Amount of Gain (Loss) Reclassified |  
|  |  | Amount of Gain (Loss) |  | Other Comprehensive |  | from Accumulated Other |  
|  |  | Recognized in Other |  | Income (Loss) into |  | Comprehensive Income |  
| Derivatives |      | Comprehensive Loss |      | Income (Expense) |      | (Loss) into Income (Expense) |  
|  |  | Three Months |  | Three Months |  |  |  | Three Months |  | Three Months |  
|  |  | Ended |  | Ended |  |  |  | Ended |  | Ended |  
|  |      | March 31, 2025 |      | March 31, 2024 |  |  |      | March 31, 2025 |      | March 31, 2024 |  
| Fuel contracts |   | $ |  10,672 |  | $ |  47,253 |  | Fuel |   | $ |  290 |  | $ |  6,577 |  
| Fuel contracts |  |  |  — |  |  |  — |  | Other income (expense), net |  |  |  (244) |  |  |  875 |  
| Foreign currency contracts |   |   |  20,153 |  |   |  — |  | Depreciation and amortization |   |   |  (4,119) |  |   |  (4,119) |  
| Total gain (loss) recognized in other comprehensive loss |   | $ |  30,825 |  | $ |  47,253 |  |    |   | $ |  (4,073) |  | $ |  3,333 |  | 
| Schedule of effects of cash flow hedge accounting on the consolidated financial statements of operations |  The effects of cash flow hedge accounting on the consolidated statements of operations include the following (in thousands):   
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  
|  |  | Three Months Ended March 31, 2025 |  | Three Months Ended March 31, 2024 |  
|  |  |  |  |  | Depreciation  |  |  |  |  |  |  |  | Depreciation  |  |  |  |  
|  |  |  |  |  | and  |  | Other Income |  |  |  |  | and  |  | Other Income |  
|  |      | Fuel |      | Amortization |      |  (Expense), net |      | Fuel |      | Amortization |      |  (Expense), net |  
| Total amounts of income and expense line items presented in the consolidated statements of operations in which the effects of cash flow hedges are recorded |  | $ |  175,014 |  | $ |  231,297 |  | $ |  (24,505) |  | $ |  197,734 |  | $ |  222,929 |  | $ |  18,137 |  
|  |  |  |    |  |  |    |  |  |  |  |  |    |  |  |    |  |  |  |  
| Amount of gain (loss) reclassified from accumulated other comprehensive income (loss) into income (expense) |   |  |    |   |  |    |   |  |  |   |  |    |   |  |    |  |   |    |  
| Fuel contracts |   |  |  290 |   |  |  — |   |  |  — |   |  |  6,577 |   |  |  — |  |  |  — |  
| Foreign currency contracts |   |  |  — |  |  |  (4,119) |   |  |  — |   |  |  — |   |  |  (4,119) |  |  |  — |  
|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  
| Amount of gain (loss) reclassified from accumulated other comprehensive income (loss) into income (expense) as a result that a forecasted transaction is no longer probable of occurring |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  
| Fuel contracts |  |  |  — |  |  |  — |  |  |  (244) |  |  |  — |  |  |  — |  |  |  875 |  |