XML 43 R30.htm IDEA: XBRL DOCUMENT
v3.21.1

Business Combinations - Additional Information (Detail) - USD ($) $ in Millions | 3 Months Ended
--- | ---
Mar. 31, 2021 | Mar. 31, 2020
Business Acquisition [Line Items] |  |
Payment to acquire business net of cash acquired | $ 59.2 | $ 0.3
Restricted Stock Units (RSUs) [Member] |  |
Business Acquisition [Line Items] |  |
Share-based Payment Arrangement, Amount Capitalized | $ 2.5 |
Maximum [Member] |  |
Business Acquisition [Line Items] |  |
Finite lived intangible assets acquired remaining useful lives | 5 years |
Minimum [Member] |  |
Business Acquisition [Line Items] |  |
Finite lived intangible assets acquired remaining useful lives | 4 years |
2021 Acquistions [Member] |  |
Business Acquisition [Line Items] |  |
Payment to acquire business | $ 72.2 |
Business combination contingent consideration | 2.0 |
Business combination operating lease right of use assets acquired | 5.8 |
Goodwill arising out of business combination acquisitions | 34.7 |
Business combination future consideration to be paid to the acquirees | 29.3 |
Business acquistion compensation expenses | 4.2 | $ 1.3
Business combination other current assets and non current assets | 5.4 |
Payment to acquire business net of cash acquired | 59.2 |
Business combination other current and non current liabilities | 3.8 |
Consideration of lease liability | 5.8 |
2021 Acquistions [Member] | Accrued Expenses And Other Current Liabilities [Member] |  |
Business Acquisition [Line Items] |  |
Business combination contingent consideration | 13.0 |
2021 Acquistions [Member] | Broker Relationships [Member] |  |
Business Acquisition [Line Items] |  |
Finite lived intangible assets acquired | 31.4 |
2021 Acquistions [Member] | Trademarks [Member] |  |
Business Acquisition [Line Items] |  |
Finite lived intangible assets acquired | $ 6.5 |

X
- Definition Business Acquisition Compensation Expenses + References No definition available. + Details
Name: | comp_BusinessAcquisitionCompensationExpenses
Namespace Prefix: | comp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Business Combination Contingent Consideration Payable In Cash + References No definition available. + Details
Name: | comp_BusinessCombinationContingentConsiderationPayableInCash
Namespace Prefix: | comp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Business Combination Future Compensation To Be Paid To The Acquirees + References No definition available. + Details
Name: | comp_BusinessCombinationFutureCompensationToBePaidToTheAcquirees
Namespace Prefix: | comp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Business Combination Operating Lease Right Of Use Assets Acquired + References No definition available. + Details
Name: | comp_BusinessCombinationOperatingLeaseRightOfUseAssetsAcquired
Namespace Prefix: | comp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Business combination other current and non current liabilities. + References No definition available. + Details
Name: | comp_BusinessCombinationOtherCurrentAndNonCurrentLiabilities
Namespace Prefix: | comp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Business combination other current assets and non current assets. + References No definition available. + Details
Name: | comp_BusinessCombinationOtherCurrentAssetsAndNonCurrentAssets
Namespace Prefix: | comp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Consideration of lease liability. + References No definition available. + Details
Name: | comp_ConsiderationOfLeaseLiability
Namespace Prefix: | comp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Goodwill arising out of business combination acquisitions. + References No definition available. + Details
Name: | comp_GoodwillArisingOutOfBusinessCombinationAcquisitions
Namespace Prefix: | comp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Weighted average amortization period of finite-lived intangible assets acquired either individually or as part of a group of assets, 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 350 -SubTopic 30 -Section 50 -Paragraph 1 -Subparagraph (a)(3) -URI http://asc.fasb.org/extlink&oid=66006027&loc=d3e16265-109275 + Details
Name: | us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

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_BusinessAcquisitionLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of cost capitalized for award under share-based payment arrangement. + 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 (h)(1)(ii) -URI http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901 + Details
Name: | us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsCapitalizedAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of increase in assets, excluding financial assets, lacking physical substance with a definite life, from an acquisition. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 30 -Section 50 -Paragraph 1 -Subparagraph (a)(1) -URI http://asc.fasb.org/extlink&oid=66006027&loc=d3e16265-109275 + Details
Name: | us-gaap_FinitelivedIntangibleAssetsAcquired1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The cash outflow associated with the acquisition of business during the period. The cash portion only of the acquisition price. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 50 -Paragraph 1 -Subparagraph (b)(1) -URI http://asc.fasb.org/extlink&oid=120321790&loc=d3e6927-128479 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 13 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=121586364&loc=d3e3213-108585 + Details
Name: | us-gaap_PaymentsToAcquireBusinessesGross
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The cash outflow associated with the acquisition of a business, net of the cash acquired from the purchase. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 13 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=121586364&loc=d3e3213-108585 + Details
Name: | us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_AwardTypeAxis=us-gaap_RestrictedStockUnitsRSUMember
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: | comp_YearAxis=comp_TwoThousandAndTwentyOneAcquistionsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BalanceSheetLocationAxis=comp_AccruedExpensesAndOtherCurrentLiabilitiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis=comp_BrokerRelationshipsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis=us-gaap_TrademarksMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |