XML 88 R74.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Income Taxes - Additional Information (Detail) | 12 Months Ended |
--- | --- | ---
Dec. 31, 2021 USD ($) Tax_Positions | Dec. 31, 2020 USD ($)
Income Tax Contingency [Line Items] |  |
Valuation allowance | $ 2,232,000 | $ 2,775,000
Unrecognized tax benefits number of tax matters | Tax_Positions | 0 |
Unrecognized tax benefits related to identified uncertain tax positions | $ 0 |
Tax years subject to examination | 2018 2019 2020 |

X
- Definition Unrecognized tax benefits number of tax matters identified + References No definition available. + Details
Name: | trex_UnrecognizedTaxBenefitsNumberOfTaxMattersIdentified
Namespace Prefix: | trex_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of deferred tax assets for which it is more likely than not that a tax benefit will not be realized. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=121826272&loc=d3e32537-109319 + Details
Name: | us-gaap_DeferredTaxAssetsValuationAllowance
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_IncomeTaxContingencyLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tax year that remains open to examination under enacted tax laws, in YYYY format. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 15 -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=121826272&loc=d3e32718-109319 + Details
Name: | us-gaap_OpenTaxYear
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:gYearListItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of unrecognized tax benefits. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 45 -Paragraph 10B -URI http://asc.fasb.org/extlink&oid=123427490&loc=SL37586934-109318 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 15A -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=121826272&loc=SL6600010-109319 + Details
Name: | us-gaap_UnrecognizedTaxBenefits
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant