XML 37 R26.htm IDEA: XBRL DOCUMENT
v3.23.1

Prepaid Expenses and Other Assets (Tables) | 3 Months Ended
--- | ---
Mar. 31, 2023
Text Block [Abstract] |
Summary of Prepaid Expenses and Other Assets | Prepaid expenses and other assets consist of the following (in thousands):
|  | March 31, 2023 |  |  | December 31, 2022 |
Prepaid expenses |  | $ | 10,738 |  |  | $ | 10,787 |
Income tax receivable |  |  | 14,635 |  |  |  | 23,979 |
Other |  |  | 339 |  |  |  | 339 |
Total prepaid expenses and other assets |  | $ | 25,712 |  |  | $ | 35,105 |

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