XML 69 R56.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Goodwill and Intangible Assets, Net - Summary of Carrying Amounts and Accumulated Amortization of Intangible Assets (Detail) - USD ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2021 | Dec. 31, 2020
Finite-Lived Intangible Assets, Net [Abstract] |  |
Finite-Lived Intangible Assets, Accumulated Amortization | $ (54.6) | $ (38.4)
Finite-Lived Intangible Assets, Net | 126.9 |
Indefinite-lived intangible assets: |  |
Intangible Assets, Gross (Excluding Goodwill) | 181.8 | 84.0
Intangible Assets, Net (Excluding Goodwill) | 127.2 | 45.6
Domain Name [Member] |  |
Indefinite-lived intangible assets: |  |
Indefinite-lived Intangible Assets (Excluding Goodwill) | 0.3 | 0.3
Customer relationships |  |
Finite-Lived Intangible Assets, Net [Abstract] |  |
Finite-Lived Intangible Assets, Gross | 150.4 | 59.7
Finite-Lived Intangible Assets, Accumulated Amortization | (42.9) | (22.4)
Finite-Lived Intangible Assets, Net | $ 107.5 | $ 37.3
Finite-Lived Intangible Assets, Remaining Amortization Period | 4 years 3 months 18 days | 4 years 4 months 24 days
Customer relationships | Minimum [Member] |  |
Finite-Lived Intangible Assets, Net [Abstract] |  |
Finite-Lived Intangible Asset, Useful Life | 2 years | 3 years
Customer relationships | Maximum [Member] |  |
Finite-Lived Intangible Assets, Net [Abstract] |  |
Finite-Lived Intangible Asset, Useful Life | 9 years | 9 years
Acquired Technology [Member] |  |
Finite-Lived Intangible Assets, Net [Abstract] |  |
Finite-Lived Intangible Assets, Gross | $ 17.5 | $ 12.0
Finite-Lived Intangible Assets, Accumulated Amortization | (9.0) | (5.7)
Finite-Lived Intangible Assets, Net | $ 8.5 | $ 6.3
Finite-Lived Intangible Assets, Remaining Amortization Period | 3 years 2 months 12 days |
Acquired Technology [Member] | Minimum [Member] |  |
Finite-Lived Intangible Assets, Net [Abstract] |  |
Finite-Lived Intangible Asset, Useful Life | 2 years | 2 years
Acquired Technology [Member] | Maximum [Member] |  |
Finite-Lived Intangible Assets, Net [Abstract] |  |
Finite-Lived Intangible Asset, Useful Life | 5 years | 3 years
Trademarks [Member] |  |
Finite-Lived Intangible Assets, Net [Abstract] |  |
Finite-Lived Intangible Assets, Gross | $ 13.6 | $ 2.3
Finite-Lived Intangible Assets, Accumulated Amortization | (2.7) | (0.6)
Finite-Lived Intangible Assets, Net | $ 10.9 | $ 1.7
Finite-Lived Intangible Assets, Remaining Amortization Period | 5 years 4 months 24 days | 2 years 8 months 12 days
Trademarks [Member] | Minimum [Member] |  |
Finite-Lived Intangible Assets, Net [Abstract] |  |
Finite-Lived Intangible Asset, Useful Life | 2 years | 2 years
Trademarks [Member] | Maximum [Member] |  |
Finite-Lived Intangible Assets, Net [Abstract] |  |
Finite-Lived Intangible Asset, Useful Life | 9 years | 3 years
Workforce [Member] |  |
Finite-Lived Intangible Assets, Net [Abstract] |  |
Finite-Lived Intangible Asset, Useful Life |  | 2 years
Finite-Lived Intangible Assets, Gross |  | $ 9.7
Finite-Lived Intangible Assets, Accumulated Amortization |  | $ (9.7)
Finite-Lived Intangible Assets, Remaining Amortization Period |  | 2 years 7 months 6 days

X
- Definition Useful life of finite-lived intangible assets, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References No definition available. + Details
Name: | us-gaap_FiniteLivedIntangibleAssetUsefulLife
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Accumulated amount of amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 30 -Section 50 -Paragraph 2 -Subparagraph (a)(1) -URI http://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275 + Details
Name: | us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount before amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 928 -SubTopic 340 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6473545&loc=d3e61844-108004 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 30 -Section 50 -Paragraph 2 -Subparagraph (a)(1) -URI http://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275 + Details
Name: | us-gaap_FiniteLivedIntangibleAssetsGross
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount after amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 926 -SubTopic 20 -Section 50 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=120154696&loc=d3e54445-107959 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 30 -Section 50 -Paragraph 2 -Subparagraph (a)(1) -URI http://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275 + Details
Name: | us-gaap_FiniteLivedIntangibleAssetsNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

X
- Definition Remaining amortization period of finite-lived intangible assets, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 926 -SubTopic 20 -Section 50 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=120154696&loc=d3e54445-107959 + Details
Name: | us-gaap_FiniteLivedIntangibleAssetsRemainingAmortizationPeriod1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of assets, excluding financial assets and goodwill, lacking physical substance and having a projected indefinite period of benefit. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 30 -Section 50 -Paragraph 2 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275 + Details
Name: | us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

X
- Definition Amount before accumulated amortization of intangible assets, excluding goodwill. + References No definition available. + Details
Name: | us-gaap_IntangibleAssetsGrossExcludingGoodwill
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Sum of the carrying amounts of all intangible assets, excluding goodwill, as of the balance sheet date, net of accumulated amortization and impairment charges. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 30 -Section 50 -Paragraph 2 -Subparagraph ((a)(1),(b)) -URI http://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 350 -SubTopic 30 -Section 45 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6388964&loc=d3e16212-109274 + Details
Name: | us-gaap_IntangibleAssetsNetExcludingGoodwill
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis=comp_DomainNameMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis=comp_AgentRelationshipsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis=comp_AcquiredTechnologyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis=us-gaap_TrademarksMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis=comp_WorkforceMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |