XML 40 R29.htm IDEA: XBRL DOCUMENT
v3.21.2

Accrued Expenses and Other Liabilities (Tables) | 9 Months Ended
--- | ---
Sep. 30, 2021
Payables and Accruals [Abstract] |
Summary of Accrued Expenses and Other Liabilities | Accrued expenses and other liabilities consist of the following (in thousands):
|  | September 30, 2021 |  |  | December 31, 2020 |
Sales and marketing |  | $ | 51,596 |  |  | $ | 22,938 |
Compensation and benefits |  |  | 21,421 |  |  |  | 21,156 |
Income taxes |  |  | 14,050 |  |  |  | 389 |
Operating lease liabilities |  |  | 7,221 |  |  |  | 6,708 |
Manufacturing costs |  |  | 4,175 |  |  |  | 3,641 |
Billings in excess of revenues |  |  | 1,923 |  |  |  | 1,244 |
Customer deposits |  |  | 577 |  |  |  | 1,174 |
Other |  |  | 4,230 |  |  |  | 5,081 |
Total accrued expenses and other liabilities |  | $ | 105,193 |  |  | $ | 62,331 |

X
- Definition Tabular disclosure of the components of accrued liabilities and other current liabilities. + References No definition available. + Details
Name: | trex_ScheduleOfAccruedLiabilitiesAndOtherCurrentLiabilitiesTableTextBlock
Namespace Prefix: | trex_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_PayablesAndAccrualsAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration