XML 46 R33.htm IDEA: XBRL DOCUMENT
v3.21.1

Fair Value of Financial Assets and Liabilities - Summary of Fair Value Measurement Inputs and Valuation Techniques (Detail) | Mar. 31, 2021 | Dec. 31, 2020
--- | --- | ---
Measurement Input, Discount Rate [Member] | Maximum [Member] |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |
Business combination contingent consideration liability measurement input | 0.020 | 0.020
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
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.017 | 0.013
Measurement Input Earnings Volatility [Member] | Maximum [Member] |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |
Business combination contingent consideration liability measurement input | 2,000 | 1,800
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
Measurement Input Earnings Volatility [Member] | Weighted Average [Member] |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |
Business combination contingent consideration liability measurement input | 0.093 | 0.069

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=117815213&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: |