XML 56 R43.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Business Combinations and Asset Acquisitions - Additional Information (Detail) $ in Millions | 12 Months Ended |  |  |
--- | --- | --- | --- | ---
Dec. 31, 2021 USD ($) Acquisitions shares | Dec. 31, 2020 USD ($) shares | Dec. 31, 2019 USD ($) shares | Oct. 09, 2020 USD ($) | Feb. 28, 2019 | Dec. 31, 2018 USD ($)
Business Acquisition [Line Items] |  |  |  |  |  |
Fair value of Contingent consideration liability | $ 24.4 | $ 39.8 | $ 16.4 |  |  | $ 19.6
Business Combination Future Compensation To Be Paid To The Acquires | 60.5 |  |  |  |  |
Business acquistion compensation expenses | $ 28.6 | $ 4.2 | $ 7.1 |  |  |
Sharebased compensation arrangement, shares of common stock granted to sellers | shares | 277,776 | 221,390 | 21,080 |  |  |
Business Combinations contingent liabilities undiscounted maximum payment | $ 24.4 |  |  |  |  |
Business combination contingent consideration fixed in value | 11.0 |  |  |  |  |
Business Combination, Consideration Transferred | $ 11.0 |  |  |  |  |
2021 Acquisitions |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |
Number Of asset Acquisitions | Acquisitions | 2 |  |  |  |  |
Asset acquisition, Consideration in cash | $ 13.2 |  |  |  |  |
Asset acquisition, Consideration in equity interest issued and issuable | 5.8 |  |  |  |  |
Business combination contingent consideration payable in cash | 5.6 |  |  |  |  |
Business combination contingent consideration additional payable in cash | 3.4 |  |  |  |  |
Business acquistion compensation expenses | 1.1 | $ 0.0 | $ 0.6 |  |  |
Business Combination, Consideration Transferred | 185.6 |  |  |  |  |
2021 Acquisitions | Broker Relationships [Member] |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |
Finite lived intangible assets acquired | 23.9 |  |  |  |  |
Modus Technologies, Inc. | 2020 Acquisitions |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |
Business acquistion percentage of voting rights acquired |  |  |  | 100.00% |  |
Business Combination, maximum amount of contingent consideration that could be earned |  |  |  | $ 70.0 |  |
Business combination contingent consideration payable in cash |  |  |  | 50.0 |  |
Business combination contingent consideration payable in common stock |  |  |  | 20.0 |  |
Fair value of Contingent consideration liability |  |  |  | $ 20.0 |  |
Business Combination, Consideration Transferred | 49.7 |  |  |  |  |
Contactually, Inc | 2019 Acquisitions |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |
Business acquistion percentage of voting rights acquired |  |  |  |  | 100.00% |
Business combination contingent consideration payable in cash | 0.0 |  |  |  |  |
Business Combination, Consideration Transferred | 26.1 |  |  |  |  |
Other | 2020 Acquisitions |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |
Business Combination, Consideration Transferred | 0.9 |  |  |  |  |
Other | 2019 Acquisitions |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |
Business combination contingent consideration payable in cash | 7.4 |  | 13.1 |  |  |
Fair value of Contingent consideration liability |  |  | $ 7.4 |  |  |
Business combination contingent consideration payable period |  |  | 6 years |  |  |
Business Combination, Consideration Transferred | $ 22.0 |  |  |  |  |
KVS Title LLC [Member] | 2021 Acquisitions |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |
Business acquistion percentage of voting rights acquired | 100.00% |  |  |  |  |

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 additional payable in cash. + References No definition available. + Details
Name: | comp_BusinessCombinationContingentConsiderationAdditionalPayableInCash
Namespace Prefix: | comp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Business combination contingent consideration liability fixed in value. + References No definition available. + Details
Name: | comp_BusinessCombinationContingentConsiderationLiabilityFixedInValue
Namespace Prefix: | comp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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 contingent consideration payable in common stock. + References No definition available. + Details
Name: | comp_BusinessCombinationContingentConsiderationPayableInCommonStock
Namespace Prefix: | comp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Business combination contingent consideration payable period. + References No definition available. + Details
Name: | comp_BusinessCombinationContingentConsiderationPayablePeriod
Namespace Prefix: | comp_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

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

X
- Definition Business Combination, maximum amount of contingent consideration that could be earned. + References No definition available. + Details
Name: | comp_BusinessCombinationMaximumAmountOfContingentConsiderationCouldBeEarned
Namespace Prefix: | comp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Business Combinations contingent liabilities undiscounted maximum payment + References No definition available. + Details
Name: | comp_BusinessCombinationsContingentLiabilitiesUndiscountedMaximumPayment
Namespace Prefix: | comp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Number of asset acquisitions. + References No definition available. + Details
Name: | comp_NumberOfAssetAcquisitions
Namespace Prefix: | comp_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of shares granted under share based arrangement. + References No definition available. + Details
Name: | comp_NumberOfSharesGrantedUnderShareBasedArrangement
Namespace Prefix: | comp_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of acquirer's equity interest issued and issuable as part of consideration transferred in asset acquisition. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 50 -Section 30 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=123362884&loc=d3e9215-128498 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 50 -Section 30 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=123362884&loc=d3e9212-128498 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 50 -Section 25 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=123385561&loc=d3e9135-128495 + Details
Name: | us-gaap_AssetAcquisitionConsiderationTransferredEquityInterestIssuedAndIssuable
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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 Percentage of voting equity interests acquired at the acquisition date in the business combination. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=79982066&loc=d3e1392-128463 + Details
Name: | us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of consideration transferred, consisting of acquisition-date fair value of assets transferred by the acquirer, liabilities incurred by the acquirer, and equity interest issued by the acquirer. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 30 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=116859721&loc=d3e6613-128477 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 50 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=120321790&loc=d3e6927-128479 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 30 -Paragraph 7 -URI http://asc.fasb.org/extlink&oid=116859721&loc=d3e6578-128477 + Details
Name: | us-gaap_BusinessCombinationConsiderationTransferred1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of liability recognized arising from contingent consideration in a business combination. + 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 (c)(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 805 -SubTopic 30 -Section 35 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=116859824&loc=d3e6819-128478 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 25 -Paragraph 6 -URI http://asc.fasb.org/extlink&oid=6911189&loc=d3e6408-128476 + Details
Name: | us-gaap_BusinessCombinationContingentConsiderationLiability
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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 for purchases of and capital improvements on property, plant and equipment (capital expenditures), software, and other intangible assets. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 13 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=123570139&loc=d3e3213-108585 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 50 -Section 30 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=123362884&loc=d3e9212-128498 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 50 -Section 30 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=123362884&loc=d3e9215-128498 Reference 4: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 50 -Section 25 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=123385561&loc=d3e9135-128495 + Details
Name: | us-gaap_PaymentsToAcquireProductiveAssets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | comp_YearAxis=comp_TwoThousandAndTwentyOneAcquisitionsMember
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_BusinessAcquisitionAxis=comp_ModusTechnologiesIncMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | comp_YearAxis=comp_TwoThousandAndTwentyAcquisitionsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=comp_ContactuallyIncMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | comp_YearAxis=comp_TwoThousandAndNineteenAcquistionsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=comp_OtherMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=comp_KvsTitleLlcMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |