XML 46 R32.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Accrued Expenses and Other Liabilities (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2021
Payables and Accruals [Abstract] |
Summary of Accrued Expenses and Other Liabilities | Accrued expenses and other liabilities consist of the following as of December 31 (in thousands):
|  | 2021 |  |  | 2020 |
Sales and marketing |  | $ | 16,439 |  |  | $ | 22,938 |
Compensation and benefits |  |  | 25,450 |  |  |  | 21,156 |
Operating lease liabilities |  |  | 7,066 |  |  |  | 6,708 |
Manufacturing costs |  |  | 4,110 |  |  |  | 3,641 |
Billings in excess of revenues |  |  | 1,401 |  |  |  | 1,244 |
Customer deposits |  |  | 35 |  |  |  | 1,174 |
Other |  |  | 3,540 |  |  |  | 5,470 |
Total accrued expenses and other liabilities |  | $ | 58,041 |  |  | $ | 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