XML 35 R28.htm IDEA: XBRL DOCUMENT
v3.25.1

Prepaid Expenses and Other Assets (Tables) | 3 Months Ended
--- | ---
Mar. 31, 2025
Text Block [Abstract] |
Summary of Prepaid Expenses and Other Assets | Prepaid expenses and other assets consist of the following (in thousands):
|  | March 31, 2025 |  |  | December 31, 2024 |
Prepaid expenses |  | $ | 19,242 |  |  | $ | 21,353 |
Other |  |  | 502 |  |  |  | 625 |
Total prepaid expenses and other assets |  | $ | 19,744 |  |  | $ | 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