v3.26.1
Revenue from Contracts with Customers - Schedule of Disaggregation of Revenue (Details) - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2024
Disaggregation of Revenue [Line Items]      
Total revenue $ 1,618,499 $ 1,526,594 $ 1,321,776
Pharmacy      
Disaggregation of Revenue [Line Items]      
Total revenue 830,854 728,753 464,853
Commissions      
Disaggregation of Revenue [Line Items]      
Total revenue 787,645 797,841 856,923
Operating Segments      
Disaggregation of Revenue [Line Items]      
Total revenue 1,606,921 1,516,076 1,292,287
Operating Segments | Senior      
Disaggregation of Revenue [Line Items]      
Total revenue 575,947 600,393 655,849
Operating Segments | Healthcare Services      
Disaggregation of Revenue [Line Items]      
Total revenue 844,935 742,705 478,508
Operating Segments | Life      
Disaggregation of Revenue [Line Items]      
Total revenue 186,039 172,978 157,930
Operating Segments | All other      
Disaggregation of Revenue [Line Items]      
Total revenue 20,227 18,026 36,228
Operating Segments | Medicare advantage commissions | Senior      
Disaggregation of Revenue [Line Items]      
Total revenue 510,810 518,031 569,648
Operating Segments | Other Senior commissions | Senior      
Disaggregation of Revenue [Line Items]      
Total revenue 17,390 11,397 11,237
Operating Segments | Other services | Senior      
Disaggregation of Revenue [Line Items]      
Total revenue 47,747 70,965 74,964
Operating Segments | Other services | Healthcare Services      
Disaggregation of Revenue [Line Items]      
Total revenue 14,081 13,952 13,655
Operating Segments | Other services | Life      
Disaggregation of Revenue [Line Items]      
Total revenue 20,975 20,118 19,812
Operating Segments | Other services | Auto & Home Segment      
Disaggregation of Revenue [Line Items]      
Total revenue 1,687 718 984
Operating Segments | Pharmacy | Healthcare Services      
Disaggregation of Revenue [Line Items]      
Total revenue 830,854 728,753 464,853
Operating Segments | Term commissions | Life      
Disaggregation of Revenue [Line Items]      
Total revenue 80,045 74,685 73,980
Operating Segments | Final expense commissions | Life      
Disaggregation of Revenue [Line Items]      
Total revenue 85,019 78,175 64,138
Operating Segments | Commissions | Auto & Home Segment      
Disaggregation of Revenue [Line Items]      
Total revenue 18,540 17,308 35,244
Intersegment Eliminations      
Disaggregation of Revenue [Line Items]      
Total revenue (8,649) (7,508) (6,739)
Intersegment Eliminations | Senior      
Disaggregation of Revenue [Line Items]      
Total revenue (7,713) (7,058) (6,617)
Intersegment Eliminations | Healthcare Services      
Disaggregation of Revenue [Line Items]      
Total revenue (832) (367) (17)
Intersegment Eliminations | Life      
Disaggregation of Revenue [Line Items]      
Total revenue (104) (83) (104)
Intersegment Eliminations | Other services      
Disaggregation of Revenue [Line Items]      
Total revenue (5,046) (4,169) (4,172)
Intersegment Eliminations | Commissions      
Disaggregation of Revenue [Line Items]      
Total revenue $ (3,603) $ (3,339) $ (2,567)