XML 45 R29.htm IDEA: XBRL DOCUMENT
v3.22.2.2

Acquisitions - Additional Information (Detail) - USD ($) | 3 Months Ended | 6 Months Ended |  |
--- | --- | --- | --- | ---
Jun. 30, 2022 | Jun. 30, 2021 | Jun. 30, 2022 | Jun. 30, 2021 | Dec. 31, 2022 | Dec. 31, 2021
Business Acquisition [Line Items] |  |  |  |  |  |
Payment to acquire business net of cash acquired |  |  | $ 15,000,000.0 | $ 103,800,000 |  |
Goodwill | $ 198,300,000 |  | 198,300,000 |  |  | $ 188,300,000
Contingent consideration liability fixed in value | 8,700,000 |  | 8,700,000 |  |  |
Contingent liabilities undiscounted maximum payment | 21,700,000 |  | 21,700,000 |  |  |
Future consideration to be paid to the acquirees | 43,100,000 |  | 43,100,000 |  |  |
Compensation expenses | $ 3,700,000 | $ 7,200,000 | $ 11,400,000 | $ 11,400,000 |  |
Title Insurance and Escrow Settlement Services Company and Real Estate Brokerage |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |
Ownership interest acquired (in percent) | 100.00% |  | 100.00% |  |  |
Payment to acquire business net of cash acquired |  |  | $ 12,100,000 |  |  |
Additional cash payable | $ 3,600,000 |  | 3,600,000 |  |  |
Recognized identifiable assets and liabilities assumed, other assets | 1,000,000 |  | 1,000,000 |  |  |
Recognized identifiable assets and liabilities assumed, other liabilities | 2,500,000 |  | 2,500,000 |  |  |
Goodwill | 8,800,000 |  | 8,800,000 |  |  |
Goodwill, expected tax deductible amount | 0 |  | $ 0 |  |  |
Title Insurance and Escrow Settlement Services Company and Real Estate Brokerage | Forecast |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |
Goodwill, expected tax deductible amount |  |  |  |  | $ 2,600,000 |
Title Insurance and Escrow Settlement Services Company and Real Estate Brokerage | Minimum |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |
Useful life (in years) |  |  | 3 years |  |  |
Title Insurance and Escrow Settlement Services Company and Real Estate Brokerage | Maximum |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |
Useful life (in years) |  |  | 5 years |  |  |
Title Insurance and Escrow Settlement Services Company and Real Estate Brokerage | Customer Relationships |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |
Recognized identifiable assets and liabilities assumed, intangible assets, other than goodwill | 8,100,000 |  | $ 8,100,000 |  |  |
Title Insurance and Escrow Settlement Services Company and Real Estate Brokerage | Trademarks |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |
Recognized identifiable assets and liabilities assumed, intangible assets, other than goodwill | $ 1,100,000 |  | 1,100,000 |  |  |
Title Insurance and Escrow Settlement Services Company and Real Estate Brokerage | Common Class A |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |
Equity interest issued or issuable |  |  | $ 800,000 |  |  |

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 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, Recognized Identifiable Assets Acquired and Liabilities Assumed, Other Assets + References No definition available. + Details
Name: | comp_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherAssets
Namespace Prefix: | comp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Other Labilities + References No definition available. + Details
Name: | comp_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherLabilities
Namespace Prefix: | comp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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 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 https://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 The amount of goodwill arising from a business combination that is expected to be deductible for tax purposes. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 50 -Paragraph 1 -Subparagraph (d) -URI https://asc.fasb.org/extlink&oid=126975305&loc=d3e6927-128479 + Details
Name: | us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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 https://asc.fasb.org/extlink&oid=126966197&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 https://asc.fasb.org/extlink&oid=126966197&loc=d3e6578-128477 + Details
Name: | us-gaap_BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of intangible assets, excluding goodwill, 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 https://asc.fasb.org/extlink&oid=128092470&loc=d3e4845-128472 + Details
Name: | us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Useful life of finite-lived intangible assets, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References No definition available. + Details
Name: | us-gaap_FiniteLivedIntangibleAssetUsefulLife
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

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/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267 Reference 2: 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 https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (h) -URI https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267 Reference 4: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 55 -Paragraph 24 -URI https://asc.fasb.org/extlink&oid=122137925&loc=d3e14258-109268 Reference 5: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 852 -SubTopic 10 -Section 55 -Paragraph 10 -URI https://asc.fasb.org/extlink&oid=84165509&loc=d3e56426-112766 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 20 -Section 45 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=99380562&loc=d3e13770-109266 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(15)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_Goodwill
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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 https://asc.fasb.org/extlink&oid=126954810&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_BusinessAcquisitionAxis=comp_TitleInsuranceAndEscrowSettlementServicesCompanyAndRealEstateBrokerageMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementScenarioAxis=srt_ScenarioForecastMember
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_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis=us-gaap_CustomerRelationshipsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | us-gaap_StatementClassOfStockAxis=us-gaap_CommonClassAMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |