XML 30 R13.htm IDEA: XBRL DOCUMENT
v3.24.0.1

Prepaid Expenses and Other Assets | 12 Months Ended
--- | ---
Dec. 31, 2023
Text Block [Abstract] |
Prepaid Expenses and Other Assets |
5. | PREPAID EXPENSES AND OTHER ASSETS
Prepaid expenses and other assets consist of the following as of December 31 (in thousands):
|  | 2023 |  |  | 2022 |
Prepaid expenses |  | $ | 11,830 |  |  | $ | 10,787 |
Income tax receivable |  |  | 9,611 |  |  |  | 23,979 |
Other |  |  | 629 |  |  |  | 339 |
Total prepaid expenses and other assets |  | $ | 22,070 |  |  | $ | 35,105 |

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