v3.26.1
Stock-based Compensation - Additional Information (Details)
6 Months Ended
Apr. 29, 2025
USD ($)
trading_day
shares
Apr. 28, 2025
$ / shares
May 30, 2024
shares
Jun. 30, 2026
USD ($)
installment
$ / shares
shares
Jun. 30, 2025
USD ($)
Jan. 01, 2026
shares
Dec. 31, 2025
shares
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]              
Number of shares authorized (in shares)     30,000,000        
Share-based compensation arrangement by share-based payment award, number of additional shares authorized, percentage of increase     0.03        
Number of shares available for issuance (in shares)           62,000,000.0  
Outstanding options (in shares)             1,300,000
Stock options exercised (in shares)       400,000      
Non-qualified stock options exercised in period, weighted average exercise price (in usd per share) | $ / shares       $ 4.51      
Converted Non-Qualified Stock Options              
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]              
Non-qualified stock options granted expiration period       10 years      
Number of annual installments | installment       3      
Vesting period       3 years      
Non-qualified stock options issued in period (in shares)       5,100,000      
Non-qualified stock options issued in period, weighted average exercise price (in usd per share) | $ / shares       $ 5.04      
RSUs              
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]              
Unrecognized share-based compensation cost related to unvested awards | $       $ 171,000,000      
Unrecognized share-based compensation cost, period of recognition       2 years 6 months      
Granted (in shares)       4,100,000      
PRSUs              
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]              
Unrecognized share-based compensation cost related to unvested awards | $       $ 84,000,000      
Unrecognized share-based compensation cost, period of recognition       2 years 6 months      
Shares granted (in shares) | $       $ 0 $ 0    
Granted (in shares)       200,000      
Beacon Roofing Supply, Inc.              
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]              
Number of additional shares authorized (in shares)     21,500,000        
Equity award exchange ratio 9.8380            
Equity award exchange ratio, closing price calculation, number of shares (in shares) 1            
Trading days prior to the closing date | trading_day 5            
Equity award exchange ratio, volume-weighted average closing sale price (in usd per share) | $ / shares   $ 12.64          
Share-based compensation aware, fair value of shares converted | $ $ 177,000,000            
Pre-combination award fair value | $ $ 88,000,000            
Post-combination award fair value | $       $ 89,000,000      
Beacon Roofing Supply, Inc. | Converted Restricted Stock Units              
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]              
Unrecognized share-based compensation cost related to unvested awards | $       $ 14,000,000      
Unrecognized share-based compensation cost, period of recognition       1 year 2 months 12 days      
Beacon Roofing Supply, Inc. | Converted Non-Qualified Stock Options              
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]              
Unrecognized share-based compensation cost related to unvested awards | $       $ 0      
Unrecognized share-based compensation cost, period of recognition       8 months 12 days      
TopBuild Acquisition | RSUs              
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]              
Granted (in shares)       2,300,000      
2024 Plan              
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]              
Common stock, capital shares reserved for future issuance (in shares)       59,000,000.0      
Restated 2015 Long Term Stock Incentive Plan | TopBuild Acquisition              
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]              
Equity award exchange ratio   20.200