v3.26.1
Related-Party Transactions - Additional Information (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2026
Jun. 30, 2025
Dec. 31, 2025
Related Party Transaction [Line Items]          
Capitation and other revenue, net $ 972,520 $ 654,808 $ 1,937,620 $ 1,275,196  
Operating lease right-of-use assets 39,194   39,194   $ 35,738
Operating lease liabilities 42,913   42,913    
Risk pool settlements and incentives          
Related Party Transaction [Line Items]          
Capitation and other revenue, net 21,816 15,402 34,302 29,893  
Related Party | Provider, Call Center and Credentialing Services | Equity Method Investments          
Related Party Transaction [Line Items]          
Related party transaction, amount of transaction 3,600   5,000    
Related Party | Management Fee Services, Provider Services, and Interest Expense | Equity Method Investments          
Related Party Transaction [Line Items]          
Related party transaction, amount of transaction   2,200   3,800  
Allied Pacific Holdings Investment Management, LLC | Chief Executive Officer          
Related Party Transaction [Line Items]          
Operating lease right-of-use assets 11,200   11,200   10,100
Operating lease liabilities 11,900   11,900   10,700
AHMC          
Related Party Transaction [Line Items]          
Remaining outstanding under agreement 49,400   49,400   $ 40,500
AHMC | Related Party | Risk pool settlements and incentives          
Related Party Transaction [Line Items]          
Capitation and other revenue, net 1,900 2,800 4,000 7,800  
APC | Board Members | Provider Services          
Related Party Transaction [Line Items]          
Related party transaction, amount of transaction 5,800 4,700 10,800 9,200  
APC | Board Members Who Are Also Officers | Provider Services          
Related Party Transaction [Line Items]          
Related party transaction, amount of transaction 1,200 600 2,100 1,200  
Professional Medical Corporation | Allied Pacific Holdings Investment Management, LLC | Office Lease          
Related Party Transaction [Line Items]          
Related party transaction, amount of transaction $ 1,200 $ 1,300 $ 2,500 $ 2,500