XML 51 R34.htm IDEA: XBRL DOCUMENT
v3.24.0.1

Accrued Expenses and Other Liabilities (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2023
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):
|  | 2023 |  |  | 2022 |
Sales and marketing |  | $ | 15,496 |  |  | $ | 19,194 |
Compensation and benefits |  |  | 25,859 |  |  |  | 8,646 |
Operatin g lease liabilitie s |  |  | 7,663 |  |  |  | 7,488 |
Manufacturing costs |  |  | 3,382 |  |  |  | 3,425 |
Other |  |  | 4,334 |  |  |  | 5,311 |
Total accrued expenses and other liabilities |  | $ | 56,734 |  |  | $ | 44,064 |

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