XML 58 R45.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Business Combinations and Asset Acquisitions - Summary of Preliminary Allocation of Purchase Price (Detail) - USD ($) $ in Millions | Dec. 31, 2021 | Dec. 31, 2020 | Dec. 31, 2019
--- | --- | --- | ---
Business Acquisition [Line Items] |  |  |
Goodwill | $ 188.3 | $ 119.8 | $ 81.4
2021 Acquisitions |  |  |
Business Acquisition [Line Items] |  |  |
Cash and cash equivalents | 11.2 |  |
Other current assets | 4.1 |  |
Property and equipment | 2.5 |  |
Goodwill | 68.5 |  |
Operating lease right-of-use assets | 12.8 |  |
Total assets | 206.6 |  |
Total liabilities | (21.0) |  |
Net assets | 185.6 |  |
2021 Acquisitions | Acquired technology |  |  |
Business Acquisition [Line Items] |  |  |
Intangible assets | 5.5 |  |
2021 Acquisitions | Customer relationships |  |  |
Business Acquisition [Line Items] |  |  |
Intangible assets | 90.7 |  |
2021 Acquisitions | Trademarks |  |  |
Business Acquisition [Line Items] |  |  |
Intangible assets | 11.3 |  |
2020 Acquisitions | Modus Technologies, Inc. |  |  |
Business Acquisition [Line Items] |  |  |
Cash and cash equivalents | 3.0 |  |
Other current assets | 0.1 |  |
Property and equipment | 0.5 |  |
Goodwill | 38.4 |  |
Operating lease right-of-use assets | 4.1 |  |
Total assets | 55.4 |  |
Total liabilities | (5.7) |  |
Net assets | 49.7 |  |
2020 Acquisitions | Other |  |  |
Business Acquisition [Line Items] |  |  |
Cash and cash equivalents | 0.0 |  |
Other current assets | 0.0 |  |
Property and equipment | 0.0 |  |
Goodwill | 0.0 |  |
Operating lease right-of-use assets | 0.0 |  |
Total assets | 0.9 |  |
Total liabilities | 0.0 |  |
Net assets | 0.9 |  |
2020 Acquisitions | Acquired technology | Modus Technologies, Inc. |  |  |
Business Acquisition [Line Items] |  |  |
Intangible assets | 6.3 |  |
2020 Acquisitions | Acquired technology | Other |  |  |
Business Acquisition [Line Items] |  |  |
Intangible assets | 0.0 |  |
2020 Acquisitions | Customer relationships | Modus Technologies, Inc. |  |  |
Business Acquisition [Line Items] |  |  |
Intangible assets | 1.3 |  |
2020 Acquisitions | Customer relationships | Other |  |  |
Business Acquisition [Line Items] |  |  |
Intangible assets | 0.9 |  |
2020 Acquisitions | Trademarks | Modus Technologies, Inc. |  |  |
Business Acquisition [Line Items] |  |  |
Intangible assets | 1.7 |  |
2020 Acquisitions | Trademarks | Other |  |  |
Business Acquisition [Line Items] |  |  |
Intangible assets | 0.0 |  |
2019 Acquisitions | Other |  |  |
Business Acquisition [Line Items] |  |  |
Cash and cash equivalents | 2.8 |  |
Other current assets | 0.4 |  |
Property and equipment | 6.7 |  |
Goodwill | 6.2 |  |
Operating lease right-of-use assets | 33.7 |  |
Other non-current assets | 1.1 |  |
Total assets | 58.0 |  |
Total liabilities | (36.0) |  |
Net assets | 22.0 |  |
2019 Acquisitions | Contactually, Inc |  |  |
Business Acquisition [Line Items] |  |  |
Cash and cash equivalents | 1.0 |  |
Other current assets | 1.0 |  |
Property and equipment | 0.0 |  |
Goodwill | 21.3 |  |
Operating lease right-of-use assets | 1.8 |  |
Other non-current assets | 0.3 |  |
Total assets | 31.1 |  |
Total liabilities | (5.0) |  |
Net assets | 26.1 |  |
2019 Acquisitions | Acquired technology | Other |  |  |
Business Acquisition [Line Items] |  |  |
Intangible assets | 0.0 |  |
2019 Acquisitions | Acquired technology | Contactually, Inc |  |  |
Business Acquisition [Line Items] |  |  |
Intangible assets | 5.7 |  |
2019 Acquisitions | Customer relationships | Other |  |  |
Business Acquisition [Line Items] |  |  |
Intangible assets | 6.5 |  |
2019 Acquisitions | Customer relationships | Contactually, Inc |  |  |
Business Acquisition [Line Items] |  |  |
Intangible assets | 0.0 |  |
2019 Acquisitions | Trademarks | Other |  |  |
Business Acquisition [Line Items] |  |  |
Intangible assets | 0.6 |  |
2019 Acquisitions | Trademarks | Contactually, Inc |  |  |
Business Acquisition [Line Items] |  |  |
Intangible assets | $ 0.0 |  |

X
- Definition BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOperatingLeaseRightOfUseAssets + References No definition available. + Details
Name: | comp_Businesscombinationrecognizedidentifiableassetsacquiredandliabilitiesassumedoperatingleaserightofuseassets
Namespace Prefix: | comp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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_BusinessAcquisitionLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of assets acquired at the acquisition date. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=123413009&loc=d3e4845-128472 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of currency on hand as well as demand deposits with banks or financial institutions, acquired at the acquisition date. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=123413009&loc=d3e4845-128472 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of other assets expected to be realized or consumed before one year or the normal operating cycle, if longer, acquired at the acquisition date. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=123413009&loc=d3e4845-128472 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsOther
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of identifiable intangible assets recognized as of the acquisition date. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 10 -Section 55 -Paragraph 37 -URI http://asc.fasb.org/extlink&oid=123455525&loc=d3e2207-128464 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=123413009&loc=d3e4845-128472 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of liabilities assumed at the acquisition date. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=123413009&loc=d3e4845-128472 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of other assets expected to be realized or consumed after one year or the normal operating cycle, if longer, acquired at the acquisition date. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=123413009&loc=d3e4845-128472 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of property, plant, and equipment recognized as of the acquisition date. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 10 -Section 55 -Paragraph 37 -URI http://asc.fasb.org/extlink&oid=123455525&loc=d3e2207-128464 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=123413009&loc=d3e4845-128472 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount recognized for assets, including goodwill, in excess of (less than) the aggregate liabilities assumed. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=123413009&loc=d3e4845-128472 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount after accumulated impairment loss of an asset representing future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(10)(1)) -URI http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 45 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=120320667&loc=SL49117168-202975 Reference 3: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 852 -SubTopic 10 -Section 55 -Paragraph 10 -URI http://asc.fasb.org/extlink&oid=84165509&loc=d3e56426-112766 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=99380562&loc=d3e13770-109266 + Details
Name: | us-gaap_Goodwill
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

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

X
- Details
Name: | us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis=us-gaap_CustomerRelationshipsMember
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: |

X
- Details
Name: | comp_YearAxis=comp_TwoThousandAndTwentyAcquisitionsMember
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: | us-gaap_BusinessAcquisitionAxis=comp_OtherMember
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_ContactuallyIncMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |