XML 74 R61.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Leases - Additional Information (Detail) - USD ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2021 | Dec. 31, 2020 | Dec. 31, 2019
Lease cost | $ 135.3 | $ 121.8 | $ 120.7
Lessee, Operating lease liability, Lease not yet commenced, Payments due | 82.0 |  |
Selling and Marketing Expense [Member] |  |  |
Lease cost | 124.3 | 110.2 | 109.1
General and Administrative Expense [Member] |  |  |
Lease cost | $ 11.0 | $ 11.6 | $ 11.6

X
- Definition LesseeOperatingLeaseLiabilityLeaseNotYetCommencedPaymentsDue. + References No definition available. + Details
Name: | comp_Lesseeoperatingleaseliabilityleasenotyetcommencedpaymentsdue
Namespace Prefix: | comp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of lease cost recognized by lessee for lease contract. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 50 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=123408670&loc=SL77918686-209980 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 55 -Paragraph 53 -URI http://asc.fasb.org/extlink&oid=123414884&loc=SL77918982-209971 + Details
Name: | us-gaap_LeaseCost
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=us-gaap_SellingAndMarketingExpenseMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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