XML 39 R28.htm IDEA: XBRL DOCUMENT
v3.23.1

Leases (Tables) | 3 Months Ended
--- | ---
Mar. 31, 2023
Leases [Abstract] |
Supplemental Cash Flow information and Supplemental balance sheet information related to operating leases | The following table includes supplemental cash flow information for the three months ended March 31, 2023, and March 31, 2022, and supplemental balance sheet information at March 31, 2023 and December 31, 2022 related to operating leases (in thousands):
|  | Three Months Ended March 31, |
Supplemental cash flow information |  | 2023 |  |  | 2022 |
Cash paid for amounts included in the measurement of operating lease liabilities |  | $ | 2,120 |  |  | $ | 2,174 |
Operating ROU assets obtained in exchange for lease liabilities |  | $ | 1,541 |  |  | $ | 6,053 |
Supplemental balance sheet information |  | March 31, 2023 |  |  | December 31, 2022 |
Operating lease ROU assets |  | $ | 30,654 |  |  | $ | 30,991 |
Operating lease liabilities: |  |  |  |  |  |  |  |
Accrued expenses and other current liabilities |  | $ | 7,731 |  |  | $ | 7,488 |
Operating lease liabilities |  |  | 23,318 |  |  |  | 23,974 |
Total operating lease liabilities |  | $ | 31,049 |  |  | $ | 31,462 |
Maturities of operating lease liabilities | The following table summarizes maturities of operating lease liabilities at March 31, 2023 (in thousands):
Maturities of operating lease liabilities |  |  |
2023 |  | $ | 5,960 |
2024 |  |  | 7,290 |
2025 |  |  | 5,456 |
2026 |  |  | 4,755 |
2027 |  |  | 4,400 |
Thereafter |  |  | 4,844 |
Total lease payments |  |  | 32,705 |
Less imputed interest |  |  | (1,656 | )
Total operating lease liabilities |  | $ | 31,049 |

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 -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 50 -Paragraph 6 -URI https://asc.fasb.org/extlink&oid=128292326&loc=SL77918701-209980 + Details
Name: | us-gaap_LesseeOperatingLeaseLiabilityMaturityTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration