XML 46 R36.htm IDEA: XBRL DOCUMENT
v3.25.0.1

Leases (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2024
Leases [Abstract] |
Supplemental Cash Flow information and Supplemental balance sheet information related to operating leases to operating leases | The following table includes supplemental cash flow information for the years ended December 31, 2024, December 31, 2023, and December 31, 2022 and supplemental balance sheet information at December 31, 2024 and December 31, 2023 related to operating leases (in thousands):
Supplemental Cash Flow Information |  | For the Year Ended December 31, |
|  | 2024 |  |  | 2023 |  |  | 2022 |
Cash paid for amounts included in the measurement of operating lease liabilities |  | $ | 10,361 |  |  | $ | 8,176 |  |  | $ | 8,688 |
Operating ROU assets obtained in exchange for lease liabilities |  | $ | 35,704 |  |  | $ | 2,559 |  |  | $ | 8,064 |
Supplemental Balance Sheet Information |  | December 31, 2024 |  |  | December 31, 2023 |
Operating lease ROU assets |  | $ | 52,195 |  |  | $ | 26,233 |
Operating lease liabilities: |  |  |  |  |  |
Accrued expenses and other current liabilities |  | $ | 10,800 |  |  | $ | 7,663 |
Operating lease liabilities |  |  | 41,979 |  |  |  | 18,840 |
Total operating lease liabilities |  | $ | 52,779 |  |  | $ | 26,503 |
Maturities of operating lease liabilities | The following table summarizes maturities of operating lease liabilities at December 31, 2024 (in thousands):
Maturities of operating lease liabilities |  |  |
2025 |  | $ | 11,057 |
2026 |  |  | 11,065 |
2027 |  |  | 10,575 |
2028 |  |  | 9,618 |
2029 |  |  | 4,434 |
Thereafter |  |  | 15,798 |
Total lease payments |  | $ | 62,547 |
Less imputed interest |  |  | (9,768 | )
Total operating liabilities |  | $ | 52,779 |

X
- Definition Table includes supplemental cash flow information and supplemental balance sheet information related to operating leases + References No definition available. + Details
Name: | trex_SupplementalFinancialInformationOfOperatingLeasesTableTextBlock
Namespace Prefix: | trex_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_LeasesAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of undiscounted cash flows of lessee's operating lease liability. Includes, but is not limited to, reconciliation of undiscounted cash flows to operating lease liability recognized in statement of financial position. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 842 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org/1943274/2147478964/842-20-50-6 + Details
Name: | us-gaap_LesseeOperatingLeaseLiabilityMaturityTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration