XML 63 R47.htm IDEA: XBRL DOCUMENT
v3.22.2.2

Restructuring Activities - Narrative (Details) - USD ($) | 3 Months Ended | 6 Months Ended
--- | --- | ---
Jun. 30, 2022 | Jun. 30, 2021 | Jun. 30, 2022 | Jun. 30, 2021
Restructuring Cost and Reserve [Line Items] |  |  |  |
Restructuring costs | $ 18,900,000 | $ 0 | $ 18,900,000 | $ 0
Incurred cost | $ 25,100,000 |  |  |
Q2 2022 Strategic Actions |  |  |  |
Restructuring Cost and Reserve [Line Items] |  |  |  |
Number of positions eliminated | 10.00% |  |  |
Positions eliminated (in percent) | 450 |  |  |
Restructuring costs | $ 18,900,000 |  |  |
Incurred cost | 21,600,000 |  |  |
Q2 2022 Strategic Actions | Employee Severance |  |  |  |
Restructuring Cost and Reserve [Line Items] |  |  |  |
Incurred cost | 14,800,000 |  |  |
Q2 2022 Strategic Actions | Lease Termination Costs |  |  |  |
Restructuring Cost and Reserve [Line Items] |  |  |  |
Incurred cost | 1,600,000 |  |  |
Q2 2022 Strategic Actions | Other Restructuring |  |  |  |
Restructuring Cost and Reserve [Line Items] |  |  |  |
Incurred cost | 200,000 |  |  |
Q2 2022 Strategic Actions | Accelerated Amortization of Intangible Assets |  |  |  |
Restructuring Cost and Reserve [Line Items] |  |  |  |
Incurred cost | 4,600,000 |  |  |
Q2 2022 Strategic Actions | Write-down of Fixed Assets |  |  |  |
Restructuring Cost and Reserve [Line Items] |  |  |  |
Incurred cost | 400,000 |  |  |
Q2 2022 Strategic Actions | Unpaid Severance Costs |  |  |  |
Restructuring Cost and Reserve [Line Items] |  |  |  |
Restructuring and related costs, liabilities remaining | 10,400,000 |  |  |
Other Restructuring Activities |  |  |  |
Restructuring Cost and Reserve [Line Items] |  |  |  |
Incurred cost | 3,500,000 |  |  |
Other Restructuring Activities | Write-down of Fixed Assets |  |  |  |
Restructuring Cost and Reserve [Line Items] |  |  |  |
Incurred cost | 1,200,000 |  |  |
Other Restructuring Activities | Other Lease Termination Cost |  |  |  |
Restructuring Cost and Reserve [Line Items] |  |  |  |
Incurred cost | $ 2,300,000 |  |  |

X
- Definition Restructuring and Related Cost, Liabilities Remaining + References No definition available. + Details
Name: | comp_RestructuringAndRelatedCostLiabilitiesRemaining
Namespace Prefix: | comp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Discloses the amount charged against the accrued restructuring reserves, or earnings if not previously accrued, during the period for the specified type of restructuring cost. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 420 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (b)(1) -URI https://asc.fasb.org/extlink&oid=6394359&loc=d3e17939-110869 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 420 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SAB Topic 5.P.4(b)(1)) -URI https://asc.fasb.org/extlink&oid=115931487&loc=d3e140904-122747 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 420 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (d) -URI https://asc.fasb.org/extlink&oid=6394359&loc=d3e17939-110869 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 420 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SAB Topic 5.P.4(d)) -URI https://asc.fasb.org/extlink&oid=115931487&loc=d3e140904-122747 + Details
Name: | us-gaap_RestructuringAndRelatedCostIncurredCost
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The number of positions eliminated during the period as a result of restructuring activities. + References No definition available. + Details
Name: | us-gaap_RestructuringAndRelatedCostNumberOfPositionsEliminated
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition The number of positions eliminated during the period as a percentage of total positions eliminated during the period in connection with the restructuring plan(s). + References No definition available. + Details
Name: | us-gaap_RestructuringAndRelatedCostNumberOfPositionsEliminatedPeriodPercent
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of expenses associated with exit or disposal activities pursuant to an authorized plan. Excludes expenses related to a discontinued operation or an asset retirement obligation. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 420 -SubTopic 10 -Section 45 -Paragraph 3 -URI https://asc.fasb.org/extlink&oid=109237686&loc=d3e17752-110868 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 420 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 5.P.3) -URI https://asc.fasb.org/extlink&oid=115931487&loc=d3e140864-122747 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 420 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SAB Topic 5.P.4(b)(1)) -URI https://asc.fasb.org/extlink&oid=115931487&loc=d3e140904-122747 + Details
Name: | us-gaap_RestructuringCharges
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_RestructuringCostAndReserveLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_RestructuringPlanAxis=comp_Q22022StrategicActionsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RestructuringCostAndReserveAxis=us-gaap_EmployeeSeveranceMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RestructuringCostAndReserveAxis=comp_LeaseTerminationCostsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RestructuringCostAndReserveAxis=us-gaap_OtherRestructuringMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RestructuringCostAndReserveAxis=comp_AcceleratedAmortizationOfIntangibleAssetsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RestructuringCostAndReserveAxis=comp_WriteDownOfFixedAssetsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RestructuringCostAndReserveAxis=comp_UnpaidSeveranceCostsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RestructuringPlanAxis=comp_OtherRestructuringActivitiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RestructuringCostAndReserveAxis=comp_OtherLeaseTerminationCostMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |