XML 24 R14.htm IDEA: XBRL DOCUMENT
v3.25.0.1

Prepaid Expenses and Other Assets | 12 Months Ended
--- | ---
Dec. 31, 2024
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):
|  | 2024 |  |  | 2023 |
Prepaid expenses |  | $ | 21,353 |  |  | $ | 11,830 |
Income tax receivable |  |  | — |  |  |  | 9,611 |
Other |  |  | 625 |  |  |  | 629 |
Total prepaid expenses and other assets |  | $ | 21,978 |  |  | $ | 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