XML 85 R75.htm IDEA: XBRL DOCUMENT v3.25.0.1
Commitments and Contingencies - Summary of Trex Residential Product Warranty and Surface Flaking Reserves Activity (Detail) - Surface Flaking Warranty Reserve [Member] - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2024
Dec. 31, 2023
Product Warranty Liability [Line Items]    
Beginning balance $ 22,178 $ 25,599
Provisions and changes in estimates 9,725 3,508
Settlements made during the period (9,068) (6,929)
Ending balance 22,835 22,178
Surface Flaking [Member]    
Product Warranty Liability [Line Items]    
Beginning balance 10,112 15,905
Provisions and changes in estimates (1,486) (3,800)
Settlements made during the period (1,387) (1,993)
Ending balance 7,239 10,112
Product Warranty [Member]    
Product Warranty Liability [Line Items]    
Beginning balance 12,066 9,694
Provisions and changes in estimates 11,211 7,308
Settlements made during the period (7,681) (4,936)
Ending balance $ 15,596 $ 12,066