v3.26.1
Other Financial Information - Schedule of Additional Cash Flow Information (Details) - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Organization, Consolidation and Presentation of Financial Statements [Abstract]    
Interest paid, net of interest rate swaps $ 30,102 $ 57,001
Income taxes paid, net of refunds 15,090 14,187
(Decrease) increase in Property and equipment additions included in Accounts payable (2,198) 324
Deferred offering costs included in Accounts payable 0 2,905
Deferred offering costs included in Accrued and other current liabilities 0 938
Contribution from Legence Parent for Series A Interests and Restricted Series C Interests 64,317 0
Contribution from Legence Parent II for Series A Interests 37,346 0
Tax receivable agreement liability and deferred taxes arising from exchanges of Class B Common Stock 143,593 0
Right-of-use assets obtained in exchange for new operating lease liabilities 32,214 15,545
Right-of-use assets obtained in exchange for new finance lease liabilities 5,202 3,299
Right-of-use asset modifications for operating leases $ 15,807 $ 1,821