XML 57 R44.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Business Combinations and Asset Acquisitions - Summary of Fair Value of Components of Purchase Consideration (Detail) - USD ($) $ in Millions | 12 Months Ended |  |
--- | --- | --- | ---
Dec. 31, 2021 | Oct. 09, 2020 | Dec. 31, 2019
Business Acquisition [Line Items] |  |  |
Total | $ 11.0 |  |
2021 Acquisitions |  |  |
Business Acquisition [Line Items] |  |  |
Cash paid at closing | 148.6 |  |
Class A common stock issued | 5.8 |  |
Cash to be paid after closing | 21.8 |  |
Contingent consideration | 5.6 |  |
Non-controlling interest | 3.8 |  |
Total | 185.6 |  |
2020 Acquisitions | Modus Technologies, Inc. |  |  |
Business Acquisition [Line Items] |  |  |
Cash paid at closing | 27.7 |  |
Cash to be paid after closing | 2.0 |  |
Contingent consideration (payable in the form of cash and Class A common stock) | 20.0 |  |
Contingent consideration |  | $ 50.0 |
Total | 49.7 |  |
2020 Acquisitions | Other |  |  |
Business Acquisition [Line Items] |  |  |
Cash paid at closing | 0.9 |  |
Cash to be paid after closing | 0.0 |  |
Contingent consideration (payable in the form of cash and Class A common stock) | 0.0 |  |
Total | 0.9 |  |
2019 Acquisitions | Other |  |  |
Business Acquisition [Line Items] |  |  |
Cash paid at closing | 14.6 |  |
Elimination of pre-existing relationships | 0.0 |  |
Contingent consideration | 7.4 |  | $ 13.1
Total | 22.0 |  |
2019 Acquisitions | Contactually, Inc |  |  |
Business Acquisition [Line Items] |  |  |
Cash paid at closing | 24.5 |  |
Elimination of pre-existing relationships | 1.6 |  |
Contingent consideration | 0.0 |  |
Total | $ 26.1 |  |

X
- Definition Business combination cash consideration payable fair value. + References No definition available. + Details
Name: | comp_BusinessCombinationCashConsiderationPayableFairValue
Namespace Prefix: | comp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Business combination consideration transferred elimination of preexisting relationships. + References No definition available. + Details
Name: | comp_BusinessCombinationConsiderationTransferredEliminationOfPreexistingRelationships
Namespace Prefix: | comp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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 purchase consideration of non-controlling interest acquired. + References No definition available. + Details
Name: | comp_BusinessCombinationPurchaseConsiderationOfNonControllingInterestAcquired
Namespace Prefix: | comp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition BusinessCombinationContingentConsiderationToBePaidInCashAfterClosing + References No definition available. + Details
Name: | comp_Businesscombinationcontingentconsiderationtobepaidincashafterclosing
Namespace Prefix: | comp_
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 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 equity interests of the acquirer, including instruments or interests issued or issuable in consideration for the business combination. + 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 30 -Paragraph 7 -URI http://asc.fasb.org/extlink&oid=116859721&loc=d3e6578-128477 + Details
Name: | us-gaap_BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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=123570139&loc=d3e3213-108585 + Details
Name: | us-gaap_PaymentsToAcquireBusinessesGross
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: | 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: |