v3.26.1
Variable Interest Entities and Equity Method Investments - Narrative (Details)
$ in Thousands
Mar. 31, 2026
USD ($)
professionalCorporation
Dec. 31, 2025
USD ($)
Schedule of Equity Method Investments [Line Items]    
Number of professional corporations contracted | professionalCorporation 2  
Notes payable    
Schedule of Equity Method Investments [Line Items]    
Long-term debt, gross $ 26,167 $ 27,345
Notes payable | Professional Corporations | Legence Corp    
Schedule of Equity Method Investments [Line Items]    
Line of credit facility, maximum borrowing capacity 1,000  
Long-term debt, gross $ 0