XML 79 R66.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Commitments and Contingencies - Additional Information (Detail) - USD ($) $ in Millions | 12 Months Ended |
--- | --- | ---
Dec. 31, 2021 | Dec. 31, 2020
Escrow and trust deposits | $ 172.1 | $ 46.1
Letters of credit | 54.5 | $ 50.7
Revolving Credit Facility [Member] |  |
Letters of credit outstanding | 30.3 |
Cash and Cash Equivalents [Member] |  |
Letters of credit outstanding | 24.2 |
General and Administrative Expense [Member] |  |
Litigation settlement, expense | $ 21.3 |

X
- Definition Letters of credit outstanding. + References No definition available. + Details
Name: | comp_LettersOfCreditOutstanding
Namespace Prefix: | comp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The total amount of the contingent obligation under letters of credit outstanding as of the reporting date. + References No definition available. + Details
Name: | us-gaap_LettersOfCreditOutstandingAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of litigation expense, including but not limited to legal, forensic, accounting, and investigative fees. + References No definition available. + Details
Name: | us-gaap_LitigationSettlementExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The aggregate amount of all domestic and foreign noninterest-bearing deposits liabilities held by the entity. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03.12) -URI http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878 + Details
Name: | us-gaap_NoninterestBearingDepositLiabilities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | comp_CreditFacilityColletralAxis=us-gaap_RevolvingCreditFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | comp_CreditFacilityColletralAxis=us-gaap_CashAndCashEquivalentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | comp_CreditFacilityColletralAxis=us-gaap_GeneralAndAdministrativeExpenseMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |