v3.26.1
Debt - Narrative (Details)
$ in Thousands
1 Months Ended 6 Months Ended
Jun. 30, 2026
USD ($)
Jun. 30, 2026
PEN (S/)
Jun. 30, 2026
USD ($)
Jun. 30, 2026
PEN (S/)
Dec. 31, 2025
USD ($)
Senior Secured Credit Facility | Secured Credit Facility          
Debt Instrument, Redemption [Line Items]          
Senior debt outstanding balance $ 75,000   $ 75,000   $ 0
Second Amended and Restated Credit Agreement | Revolving Credit Facility          
Debt Instrument, Redemption [Line Items]          
Debt covenant, percentage of utilized line of credit (less than)     25.00%    
Lines of credit | Third Amendment, 2028 Tranche | Secured Credit Facility          
Debt Instrument, Redemption [Line Items]          
Maximum borrowing capacity under credit facility 155,000   $ 155,000    
Lines of credit | Third Amended and Restated Credit Agreement | Secured Credit Facility | Debt Instrument, Covenant, Period Three          
Debt Instrument, Redemption [Line Items]          
Required minimum debt to consolidated EBITDA ratio     3    
Note payable          
Debt Instrument, Redemption [Line Items]          
Senior debt outstanding balance 21,822   $ 21,822   $ 22,313
Note payable | Subsidiary Of The Company Borrowing Agreement | Peru          
Debt Instrument, Redemption [Line Items]          
Debt instrument, face amount $ 60,000   $ 60,000 S/ 205,000,000  
Debt instrument, interest rate, stated percentage 6.45%   6.45% 6.45%  
Debt instrument, periodic payment, principal $ 2,998 S/ 10,250,000      
Long-term debt 0   $ 0    
Line of credit, current $ 41,000   $ 41,000