XML 35 R28.htm IDEA: XBRL DOCUMENT
v3.24.2.u1

Accrued Expenses and Other Liabilities (Tables) | 6 Months Ended
--- | ---
Jun. 30, 2024
Payables and Accruals [Abstract] |
Summary of Accrued Expenses and Other Liabilities | Accrued expenses and other liabilities consist of the following (in thousands):
|  | June 30, 2024 |  |  | December 31, 2023 |
Sales and marketing |  | $ | 47,965 |  |  | $ | 15,496 |
Capital Projects |  |  | 21,632 |  |  |  | — |
Compensation and benefits |  |  | 17,907 |  |  |  | 25,859 |
Operating lease liabilities |  |  | 9,847 |  |  |  | 7,663 |
Income Taxes |  |  | 9,134 |  |  |  | — |
Manufacturing costs |  |  | 4,730 |  |  |  | 3,382 |
Other |  |  | 5,738 |  |  |  | 4,334 |
Total accrued expenses and other liabilities |  | $ | 116,953 |  |  | $ | 56,734 |

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