XML 45 R32.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Leases (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2021
Leases [Abstract] |
Summary of Operating Leases | The components of lease costs for operating leases for the years ended December 31, 2021, 2020 and 2019 was as follows (in millions):
|  | Year Ended December 31, |
|  | 2021 |  |  | 2020 |  |  | 2019 |
Operating lease costs |  | $ | 102.3 |  |  | $ | 93.1 |  |  | $ | 80.6 |
Short-term lease costs |  |  | 7.2 |  |  |  | 5.7 |  |  |  | 16.6 |
Sublease income |  |  | (3.2 | ) |  |  | (3.4 | ) |  |  | (2.2 | )
Variable lease costs |  |  | 29.0 |  |  |  | 26.4 |  |  |  | 25.7 |
Total |  | $ | 135.3 |  |  | $ | 121.8 |  |  | $ | 120.7 |
Summary of Supplemental Cash Flow Information Related To leases | Supplemental cash flow information related to leases was as follows (in millions):
|  | Year Ended December 31, |
|  | 2021 |  |  | 2020 |  |  | 2019 |
Cash paid for amounts included in the measurement of operating lease liabilities: |  |  |  |  |  |  |  |  |  |  |  |
Operating cash flows used in operating leases |  | $ | 106.3 |  |  | $ | 92.0 |  |  | $ | 53.3 |
Supplemental disclosure of non-cash leasing activities: |  |  |  |  |  |  |  |  |  |  |  |
ROU assets obtained in exchange for new operating lease liabilities |  |  | 137.1 |  |  |  | 66.3 |  |  |  | 193.5 |
Summary of Weighted-average Remaining Lease Term and Discount Rate | The following table represents the weighted-average remaining lease term and discount rate for the Company’s operating leases:
|  | December 31, |
|  | 2021 |  |  | 2020 |
Weighted average remaining lease term (years) |  |  | 6.7 |  |  |  | 7.3 |
Weighted average discount rate |  |  | 4.2 | % |  |  | 4.7 | %
Summary of Operating Lease Liability Maturity | Future undiscounted lease payments for the Company’s operating lease liabilities are as follows as of December 31, 2021 (in millions):
2022 |  | $ | 103.8 |
2023 |  |  | 108.2 |
2024 |  |  | 98.3 |
2025 |  |  | 84.4 |
2026 |  |  | 72.8 |
Thereafter |  |  | 187.8 |
Total future lease payments |  |  | 655.3 |
Less: imputed interest |  |  | 90.8 |
Present value of lease liabilities |  | $ | 564.5 |

X
- Definition Schedule of operating lease weighted average remaining lease term and discount rate. + References No definition available. + Details
Name: | comp_ScheduleOfOperatingLeaseWeightedAverageRemainingLeaseTermAndDiscountRateTableTextBlock
Namespace Prefix: | comp_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Supplemental cash flow information related to ​Leases​. + References No definition available. + Details
Name: | comp_SupplementalCashFlowInformationRelatedToleasesTableTextBlock
Namespace Prefix: | comp_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of lessee's lease cost. Includes, but is not limited to, interest expense for finance lease, amortization of right-of-use asset for finance lease, operating lease cost, short-term lease cost, variable lease cost and sublease income. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -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 + Details
Name: | us-gaap_LeaseCostTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

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

X
- Definition Tabular disclosure of undiscounted cash flows of lessee's operating lease liability. Includes, but is not limited to, reconciliation of undiscounted cash flows to operating lease liability recognized in statement of financial position. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 50 -Paragraph 6 -URI http://asc.fasb.org/extlink&oid=123408670&loc=SL77918701-209980 + Details
Name: | us-gaap_LesseeOperatingLeaseLiabilityMaturityTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration