v3.26.1
Segment Information - Schedule of Reportable Segments Reconcile of Segment Information (Details) - Operating Segments - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2026
Jun. 30, 2025
Segment Reporting [Line Items]        
Cost of drugs $ 2,916,899 $ 2,377,477 $ 5,589,692 $ 4,525,053
Cost of services 271,402 216,444 532,326 427,989
Other direct costs 192,093 178,925 389,875 359,564
Segment selling, general, and administrative expenses 272,127 227,911 551,583 433,751
Segment depreciation and amortization expense 34,291 34,207 66,573 68,484
Segment EBITDA 254,910 181,148 489,958 347,954
Products        
Segment Reporting [Line Items]        
Revenues 3,407,173 2,790,101 6,578,522 5,322,272
Services        
Segment Reporting [Line Items]        
Revenues 465,967 357,597 908,339 703,555
Pharmacy Solutions        
Segment Reporting [Line Items]        
Cost of drugs 2,916,899 2,377,477 5,589,692 4,525,053
Other direct costs 192,093 178,925 389,875 359,564
Segment selling, general, and administrative expenses 143,612 136,040 300,646 251,778
Segment depreciation and amortization expense 25,480 27,033 50,808 54,541
Segment EBITDA 180,049 124,692 349,117 240,418
Pharmacy Solutions | Products        
Segment Reporting [Line Items]        
Revenues 3,407,173 2,790,101 6,578,522 5,322,272
Provider Services        
Segment Reporting [Line Items]        
Cost of services 271,402 216,444 532,326 427,989
Segment selling, general, and administrative expenses 128,515 91,871 250,937 181,973
Segment depreciation and amortization expense 8,811 7,174 15,765 13,943
Segment EBITDA 74,861 56,456 140,841 107,536
Provider Services | Services        
Segment Reporting [Line Items]        
Revenues $ 465,967 $ 357,597 $ 908,339 $ 703,555