v3.24.2.u1
Debt - Long-term Debt (Details) - USD ($)
$ in Thousands
Jun. 30, 2024
Dec. 31, 2023
Line of Credit Facility [Line Items]    
Total principal due for long-term debt $ 1,284,029 $ 1,232,805
Unamortized discounts (12,859) (13,722)
Unamortized deferred financing costs (17,432) (16,165)
Less: Current portion of long-term debt 73,570 39,611
Long-term debt, net of unamortized debt issuance costs and current portion 1,180,168 1,163,307
Financing obligations recognized in failed sale leaseback transactions    
Line of Credit Facility [Line Items]    
Total principal due for long-term debt $ 42,520 42,767
Weighted average interest rate 3.97%  
APAF Term Loan    
Line of Credit Facility [Line Items]    
Total principal due for long-term debt $ 468,324 474,609
Weighted average interest rate 3.51%  
APAF II Term Loan    
Line of Credit Facility [Line Items]    
Total principal due for long-term debt $ 108,697 112,810
Weighted average interest rate 1.475%  
APAF III Term Loan    
Line of Credit Facility [Line Items]    
Total principal due for long-term debt $ 420,620 426,619
Weighted average interest rate 6.03%  
APAF IV Term Loan    
Line of Credit Facility [Line Items]    
Total principal due for long-term debt $ 101,000 0
Weighted average interest rate 6.45%  
APAGH Term Loan    
Line of Credit Facility [Line Items]    
Total principal due for long-term debt $ 100,000 100,000
Weighted average interest rate 8.50%  
APAG Revolver    
Line of Credit Facility [Line Items]    
Total principal due for long-term debt $ 0 65,000
Weighted average interest rate 1.60%  
APACF II Facility    
Line of Credit Facility [Line Items]    
Total principal due for long-term debt $ 31,868 0
Weighted average interest rate 3.25%  
Other term loans    
Line of Credit Facility [Line Items]    
Total principal due for long-term debt $ 11,000 $ 11,000
Weighted average interest rate 3.04%