XML 44 R30.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Prepaid Expenses and Other Assets (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2021
Text Block [Abstract] |
Summary of Prepaid Expenses and Other Assets | Prepaid expenses and other assets consist of the following as of December 31 (in thousands):
|  | 2021 |  |  | 2020 |
Prepaid expenses |  | $ | 15,061 |  |  | $ | 7,285 |
Revenues in excess of billings |  |  | 9,109 |  |  |  | 8,879 |
Income tax receivable |  |  | 406 |  |  |  | 7,823 |
Other |  |  | 576 |  |  |  | 1,323 |
Total prepaid expenses and other assets |  | $ | 25,152 |  |  | $ | 25,310 |

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