XML 36 R28.htm IDEA: XBRL DOCUMENT
v3.25.3

Prepaid Expenses and Other Assets (Tables) | 9 Months Ended
--- | ---
Sep. 30, 2025
Text Block [Abstract] |
Summary of Prepaid Expenses and Other Assets | Prepaid expenses and other assets consist of the following (in thousands):
|  | September 30, 2025 |  |  | December 31, 2024 |
Prepaid expenses |  | $ | 12,379 |  |  | $ | 21,353 |
Other |  |  | 500 |  |  |  | 625 |
Total prepaid expenses and other assets |  | $ | 12,879 |  |  | $ | 21,978 |

X
- Definition Tabular disclosure pertaining to prepaid expense and other assets current. + References No definition available. + Details
Name: | trex_PrepaidExpenseAndOtherAssetsCurrentTableTextBlock
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