XML 57 R46.htm IDEA: XBRL DOCUMENT
v3.23.2

Compass Concierge Receivables and Allowance for Credit Losses - Additional Information (Detail) | Jun. 30, 2023 | Dec. 31, 2022
--- | --- | ---
Receivables [Abstract] |  |
Financing receivables related to unsold properties (in percent) | 96.00% | 98.00%

X
- Definition Percentage of financing receivables relating to unsold properties. + References No definition available. + Details
Name: | comp_PercentageOfFinancingReceivablesRelatingToUnsoldProperties
Namespace Prefix: | comp_
Data Type: | dtr-types1:percentItemType
Balance Type: | na
Period Type: | instant

X
- References No definition available. + Details
Name: | us-gaap_ReceivablesAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration