XML 48 R36.htm IDEA: XBRL DOCUMENT
v3.24.3

Commitments and Contingencies - Additional Information (Detail) $ in Millions |  | 3 Months Ended |  |
--- | --- | --- | --- | ---
Mar. 21, 2024 USD ($) | Jun. 30, 2025 | Jun. 30, 2024 | Mar. 31, 2024 USD ($) | Sep. 30, 2024 USD ($) lawsuit | Dec. 31, 2023 USD ($)
Loss Contingencies [Line Items] |  |  |  |  |  |
Letters of credit |  |  |  |  | $ 54.9 | $ 44.4
Escrow and trust deposits |  |  |  |  | $ 246.1 | 120.0
Antitrust Lawsuits |  |  |  |  |  |
Loss Contingencies [Line Items] |  |  |  |  |  |
Litigation settlement, amount awarded to other party | $ 57.5 |  |  | $ 57.5 |  |
Settlement amount paid |  |  | 0.50 |  |  |
Antitrust Lawsuits | Forecast |  |  |  |  |  |
Loss Contingencies [Line Items] |  |  |  |  |  |
Settlement amount to be paid within one year |  | 0.50 |  |  |  |
Putative Class Action Lawsuit |  |  |  |  |  |
Loss Contingencies [Line Items] |  |  |  |  |  |
Loss contingency, number of lawsuits | lawsuit |  |  |  |  | 8 |
Individual Law Suit |  |  |  |  |  |
Loss Contingencies [Line Items] |  |  |  |  |  |
Loss contingency, number of lawsuits | lawsuit |  |  |  |  | 1 |
Revolving credit facility |  |  |  |  |  |
Loss Contingencies [Line Items] |  |  |  |  |  |
Letters of credit |  |  |  |  | $ 54.9 | 43.8
Cash and Cash Equivalents |  |  |  |  |  |
Loss Contingencies [Line Items] |  |  |  |  |  |
Letters of credit |  |  |  |  |  | $ 0.6

X
- Definition Litigation Settlement, Amount Awarded To Other Party, Percentage Paid + References No definition available. + Details
Name: | comp_LitigationSettlementAmountAwardedToOtherPartyPercentagePaid
Namespace Prefix: | comp_
Data Type: | xbrli:pureItemType
Balance Type: | na
Period Type: | duration

X
- Definition Litigation Settlement, Amount Awarded To Other Party, Percentage To Be Paid Within One Year + References No definition available. + Details
Name: | comp_LitigationSettlementAmountAwardedToOtherPartyPercentageToBePaidWithinOneYear
Namespace Prefix: | comp_
Data Type: | xbrli:pureItemType
Balance Type: | na
Period Type: | duration

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 Amount awarded to other party in judgment or settlement of litigation. + References No definition available. + Details
Name: | us-gaap_LitigationSettlementAmountAwardedToOtherParty
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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 Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 450 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483076/450-20-50-4 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 450 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 9 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483076/450-20-50-9 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 720 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147483359/720-20-50-1 Reference 4: http://www.xbrl.org/2003/role/exampleRef -Topic 460 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 27 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482395/460-10-55-27 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 450 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 9 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483076/450-20-50-9 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 450 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483076/450-20-50-4 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Topic 460 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482425/460-10-50-3 Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Topic 450 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147483076/450-20-50-1 + Details
Name: | us-gaap_LossContingenciesLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of pending claims pertaining to a loss contingency. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 450 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483076/450-20-50-4 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 450 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 9 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483076/450-20-50-9 + Details
Name: | us-gaap_LossContingencyPendingClaimsNumber
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
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 -Topic 942 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(12)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478546/942-210-S99-1 + Details
Name: | us-gaap_NoninterestBearingDepositLiabilities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | srt_LitigationCaseAxis=comp_AntitrustLawsuitsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementScenarioAxis=srt_ScenarioForecastMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LossContingenciesByNatureOfContingencyAxis=comp_PutativeClassActionLawsuitMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LossContingenciesByNatureOfContingencyAxis=comp_IndividualLawSuitMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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: |