XML 83 R69.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Stock-Based Compensation - SAR Activity (Detail) - Stock Appreciation Rights [Member] - USD ($) | 12 Months Ended
--- | ---
Dec. 31, 2021 | Dec. 31, 2020 | Dec. 31, 2019
Schedule Of Stock Appreciation Rights Activity [Line Items] |  |  |
SARs Outstanding, Beginning Balance | 293,276 | 304,038 | 476,952
Granted, SARs | 15,029 | 43,830 | 49,072
Exercised, SARs | (102,562) | (54,592) | (217,528)
Canceled, SARs | (4,745) |  | (4,458)
Shares Outstanding, SARs, Ending Balance | 200,998 | 293,276 | 304,038
Outstanding, Weighted Average Grant Price Per Share, Beginning Balance | $ 22.15 | $ 15.79 | $ 9.63
Vested, SARs | 161,244 |  |
Granted, Weighted Average Grant Price Per Share | $ 104.56 | 50.39 | 38.85
Exercisable, SARs | 161,244 |  |
Exercised, Weighted Average Grant Price Per Share | $ 9.45 | 9.41 | 6.95
Canceled, Weighted Average Grant Price Per Share | 61.66 | 0 |
Outstanding, Weighted Average Grant Price Per Share, Ending Balance | 33.86 | $ 22.15 | $ 15.79
Vested, Weighted Average Grant Price Per Share | 25.58 |  |
Exercisable, Weighted Average Grant Price Per Share | $ 25.58 |  |
Weighted Average Remaining Contractual Life, Outstanding | 5 years 3 months 18 days |  |
Weighted Average Remaining Contractual Life, Vested | 5 years 3 months 18 days |  |
Weighted Average Remaining Contractual Life, Exercisable | 5 years 3 months 18 days |  |
Aggregate Intrinsic Value, Outstanding | $ 20,335,938 |  |
Aggregate Intrinsic Value, Vested | 17,647,952 |  |
Aggregate Intrinsic Value, Exercisable | $ 17,647,952 |  |

X
- Definition Schedule of stock appreciation rights activity. + References No definition available. + Details
Name: | trex_ScheduleOfStockAppreciationRightsActivityLineItems
Namespace Prefix: | trex_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of equity instruments other than options exercisable. + References No definition available. + Details
Name: | trex_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsExercisable
Namespace Prefix: | trex_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Share based compensation arrangement by share based payment award non options equity instruments canceled weighted average grant price. + References No definition available. + Details
Name: | trex_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionsEquityInstrumentsCanceledWeightedAverageGrantPrice
Namespace Prefix: | trex_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Share based compensation arrangement by share based payment award non options equity instruments exercisable weighted average grant price. + References No definition available. + Details
Name: | trex_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionsEquityInstrumentsExercisableWeightedAverageGrantPrice
Namespace Prefix: | trex_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Share based compensation arrangement by share based payment award non options equity instruments exercised weighted average grant price. + References No definition available. + Details
Name: | trex_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionsEquityInstrumentsExercisedWeightedAverageGrantPrice
Namespace Prefix: | trex_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Share based compensation arrangement by share based payment award non options equity instruments granted weighted average grant price. + References No definition available. + Details
Name: | trex_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionsEquityInstrumentsGrantedWeightedAverageGrantPrice
Namespace Prefix: | trex_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Share based compensation arrangement by share based payment award non options equity instruments outstanding weighted average grant price. + References No definition available. + Details
Name: | trex_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionsEquityInstrumentsOutstandingWeightedAverageGrantPrice
Namespace Prefix: | trex_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Share based compensation arrangement by share based payment award non options equity instruments vested weighted average grant price. + References No definition available. + Details
Name: | trex_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionsEquityInstrumentsVestedWeightedAverageGrantPrice
Namespace Prefix: | trex_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Share based compensation arrangement by share based payment award non options exercisable intrinsic value. + References No definition available. + Details
Name: | trex_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionsExercisableIntrinsicValue
Namespace Prefix: | trex_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Number of equity instruments other than options vested. + References No definition available. + Details
Name: | trex_SharebasedCompensationArrangementByShareBasedPaymentAwardNonoptionEquityInstrumentsVested
Namespace Prefix: | trex_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Sharebased compensation arrangement by sharebased payment award non options exercisable weighted average remaining contractual term. + References No definition available. + Details
Name: | trex_SharebasedCompensationArrangementBySharebasedPaymentAwardNonOptionsExercisableWeightedAverageRemainingContractualTerm
Namespace Prefix: | trex_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Sharebased compensation arrangement by sharebased payment award non options vested and expected to vest outstanding weighted average remaining contractual term. + References No definition available. + Details
Name: | trex_SharebasedCompensationArrangementBySharebasedPaymentAwardNonOptionsVestedAndExpectedToVestOutstandingWeightedAverageRemainingContractualTerm
Namespace Prefix: | trex_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Weighted average remaining contractual term for equity-based awards excluding options, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (e)(1) -URI http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsOutstandingWeightedAverageRemainingContractualTerms
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of non-option equity instruments exercised by participants. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(1)(iv)(2) -URI http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsExercised
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of shares under non-option equity instrument agreements that were cancelled as a result of occurrence of a terminating event. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(1)(iv)(3) -URI http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsForfeitures
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Net number of non-option equity instruments granted to participants. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(1)(iv)(1) -URI http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsGranted
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of equity instruments other than options outstanding, including both vested and non-vested instruments. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(1)(ii) -URI http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(1)(i) -URI http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsOutstandingNumber
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Intrinsic value of outstanding award under share-based payment arrangement. Excludes share and unit options. + References No definition available. + Details
Name: | us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueOutstanding
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Intrinsic value of vested award under share-based payment arrangement. Excludes share and unit options. + References No definition available. + Details
Name: | us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueVested
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_AwardTypeAxis=us-gaap_StockAppreciationRightsSARSMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |