XML 50 R34.htm IDEA: XBRL DOCUMENT
v3.22.2.2

Commitments and Contingencies - Additional Information (Detail) - USD ($) $ in Millions | Jun. 30, 2022 | Dec. 31, 2021
--- | --- | ---
Letters of credit | $ 50.5 | $ 54.5
Escrow and trust deposits | 259.0 | 172.1
Revolving Credit Facility |  |
Letters of credit | 31.5 | 30.3
Cash and Cash Equivalents |  |
Letters of credit | $ 19.0 | $ 24.2

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 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 https://asc.fasb.org/extlink&oid=126897435&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_CreditFacilityCollateralAxis=us-gaap_RevolvingCreditFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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