XML 37 R27.htm IDEA: XBRL DOCUMENT
v3.22.2

Prepaid Expenses and Other Assets (Tables) | 6 Months Ended
--- | ---
Jun. 30, 2022
Text Block [Abstract] |
Summary of Prepaid Expenses and Other Assets | Prepaid expenses and other assets consist of the following (in thousands):
|  | June 30, 2022 |  |  | December 31, 2021 |
Prepaid expenses |  | $ | 14,373 |  |  | $ | 15,061 |
Revenues in excess of billings |  |  | 7,905 |  |  |  | 9,109 |
Income tax receivable |  |  | 894 |  |  |  | 406 |
Other |  |  | 473 |  |  |  | 576 |
Total prepaid expenses and other assets |  | $ | 23,645 |  |  | $ | 25,152 |

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