v3.24.0.1
Debt - Long-term Debt (Details) - USD ($)
$ in Thousands
Dec. 31, 2023
Dec. 31, 2022
Line of Credit Facility [Line Items]    
Long-term debt $ 1,232,805 $ 678,054
Unamortized discounts and premiums (13,722) (2,088)
Unamortized deferred financing costs (16,165) (11,404)
Less: Current portion of long-term debt 39,611 29,959
Long-term debt, less current portion 1,163,307 634,603
Financing obligations recognized in failed sale leaseback transactions    
Line of Credit Facility [Line Items]    
Long-term debt $ 42,767 36,724
Weighted average interest rate 3.97%  
APAF Term Loan    
Line of Credit Facility [Line Items]    
Long-term debt $ 474,609 487,179
Weighted average interest rate 3.51%  
APAF II Term Loan    
Line of Credit Facility [Line Items]    
Long-term debt $ 112,810 125,668
APAF III Term Loan    
Line of Credit Facility [Line Items]    
Long-term debt $ 426,619 0
Weighted average interest rate 6.03%  
APAGH Term Loan    
Line of Credit Facility [Line Items]    
Long-term debt $ 100,000 0
Weighted average interest rate 8.50%  
APAG Revolver    
Line of Credit Facility [Line Items]    
Long-term debt $ 65,000 0
Other term loans    
Line of Credit Facility [Line Items]    
Long-term debt $ 11,000 $ 28,483
Weighted average interest rate 3.04%