XML 39 R29.htm IDEA: XBRL DOCUMENT
v3.24.3

Leases (Tables) | 9 Months Ended
--- | ---
Sep. 30, 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 nine months ended September 30, 2024 and September 30, 2023, and supplemental balance sheet information at September 30, 2024 and December 31, 2023 related to operating leases (in thousands):
|  | Nine Months Ended September 30, |
Supplemental cash flow information |  | 2024 |  |  | 2023 |
Cash paid for amounts included in the measurement of operating lease liabilities |  | $ | 7,346 |  |  | $ | 6,236 |
Operating ROU assets obtained in exchange for lease liabilities |  | $ | 16,379 |  |  | $ | 1,882 |
Supplemental balance sheet information |  | September 30, 2024 |  |  | December 31, 2023 |
Operating lease ROU assets |  | $ | 36,110 |  |  | $ | 26,233 |
Operating lease liabilities: |  |  |  |  |  |
Accrued expenses and other current liabilities |  | $ | 9,555 |  |  | $ | 7,663 |
Operating lease liabilities |  |  | 26,782 |  |  |  | 18,840 |
Total operating lease liabilities |  | $ | 36,337 |  |  | $ | 26,503 |
Maturities of operating lease liabilities | The following table summarizes maturities of operating lease liabilities at September 30, 2024 (in thousands):
Maturities of operating lease liabilities |  |  |
2024 |  | $ | 2,655 |
2025 |  |  | 9,305 |
2026 |  |  | 8,631 |
2027 |  |  | 8,124 |
2028 |  |  | 7,175 |
Thereafter |  |  | 4,076 |
Total lease payments |  |  | 39,966 |
Less imputed interest |  |  | (3,629 | )
Total operating lease liabilities |  | $ | 36,337 |

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