XML 67 R51.htm IDEA: XBRL DOCUMENT v3.25.0.1
Business Combinations and Disposition - Additional Information (Details) - USD ($)
12 Months Ended
Dec. 09, 2022
Apr. 14, 2022
Feb. 18, 2022
Dec. 31, 2024
Dec. 31, 2023
Dec. 31, 2022
Business Acquisition [Line Items]            
Business combination, consideration paid in cash   $ 149,900,000        
Goodwill       $ 410,769,000 $ 410,769,000 $ 412,117,000
Change in fair value of contingent consideration       $ 0 $ 0 18,057,000
Vitacare Prescription Services Inc            
Business Acquisition [Line Items]            
Total purchase consideration   131,800,000        
Business combination, aggregate consideration   18,100,000        
Business acquisition, transaction costs   1,600,000        
Goodwill   80,600,000        
Other intangible assets   52,000,000.0        
Business combination, consideration receivable   19,700,000        
Estimated fair value of contingent consideration   $ 1,700,000       0
Change in fair value of contingent consideration           1,700,000
Contingent consideration, commitment period (in years)         5 years  
Change in fair value of the contingent consideration receivable           19,700,000
Revenue from contract with customer excluding assessed tax           $ 5,600,000
Flipmd Inc            
Business Acquisition [Line Items]            
Business combination, consideration paid in cash     $ 7,000,000.0      
GoodRx Care, LLC            
Business Acquisition [Line Items]            
Business combination, aggregate consideration $ 19,500,000          
Pre-tax gain $ 11,400,000          
Disposal Group, Not Discontinued Operation, Gain (Loss) on Disposal, Statement of Income or Comprehensive Income [Extensible Enumeration] General and administrative