XML 63 R50.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Fair Value of Financial Assets and Liabilities - Summary of Fair Value Measurement Inputs and Valuation Techniques (Detail) | Dec. 31, 2021 | Dec. 31, 2020 | Dec. 31, 2019
--- | --- | --- | ---
Measurement Input, Discount Rate [Member] | Maximum [Member] |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |
Business combination contingent consideration liability measurement input | 2.0 | 2.0 | 4.0
Measurement Input, Discount Rate [Member] | Minimum [Member] |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |
Business combination contingent consideration liability measurement input | 0.0 | 0.0 | 0.0
Measurement Input, Discount Rate [Member] | Weighted Average [Member] |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |
Business combination contingent consideration liability measurement input | 0.5 | 1.3 | 3.3
Measurement Input Earnings Volatility [Member] | Maximum [Member] |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |
Business combination contingent consideration liability measurement input | 15.0 | 18.0 | 45.0
Measurement Input Earnings Volatility [Member] | Minimum [Member] |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |
Business combination contingent consideration liability measurement input | 0.0 | 0.0 | 0.0
Measurement Input Earnings Volatility [Member] | Weighted Average [Member] |  |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |  |
Business combination contingent consideration liability measurement input | 3.3 | 6.9 | 12.0

X
- Definition Value of input used to measure contingent consideration liability from business combination. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (bbb)(2) -URI http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258 + Details
Name: | us-gaap_BusinessCombinationContingentConsiderationLiabilityMeasurementInput
Namespace Prefix: | us-gaap_
Data Type: | xbrli:decimalItemType
Balance Type: | na
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_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_MeasurementInputTypeAxis=us-gaap_MeasurementInputDiscountRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_WeightedAverageMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MeasurementInputTypeAxis=comp_MeasurementInputEarningsVolatilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |