XML 21 R14.htm IDEA: XBRL DOCUMENT
v3.24.2.u1

Prepaid Expenses and Other Assets | 6 Months Ended
--- | ---
Jun. 30, 2024
Text Block [Abstract] |
Prepaid Expenses and Other Assets | 6. PREPAID EXPENSES AND OTHER ASSETS Prepaid expenses and other assets consist of the following (in thousands):
|  | June 30, 2024 |  |  | December 31, 2023 |
Prepaid expenses |  | $ | 13,118 |  |  | $ | 11,830 |
Income tax receivable |  |  | — |  |  |  | 9,611 |
Other |  |  | 629 |  |  |  | 629 |
Total prepaid expenses and other assets |  | $ | 13,747 |  |  | $ | 22,070 |

X
- Definition The entire disclosure pertaining to prepaid and other current assets. + References No definition available. + Details
Name: | trex_PrepaidAndOtherCurrentAssetsDisclosureTextBlock
Namespace Prefix: | trex_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

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