XML 49 R33.htm IDEA: XBRL DOCUMENT
v3.22.2.2

Debt - Additional Information (Detail) - USD ($) |  |  | 6 Months Ended |  |  |
--- | --- | --- | --- | --- | --- | ---
Aug. 05, 2022 | Jul. 29, 2021 | Jun. 30, 2022 | Dec. 31, 2021 | Mar. 31, 2021 | Jul. 31, 2020
Debt [Line Items] |  |  |  |  |  |
Letters of credit |  |  | $ 50,500,000 | $ 54,500,000 |  |
Concierge Revolving Credit Facility |  |  |  |  |  |
Debt [Line Items] |  |  |  |  |  |
Maximum borrowing capacity |  |  |  |  |  | $ 75,000,000
Line of credit facility expiration month and year |  |  | 2024 |  |  |
Debt instrument interest rate (in percent) |  |  | 3.96% |  |  |
Covenant compliance |  |  | the Company was in compliance with the covenants under the A&R Concierge Facility. |  |  |
Concierge Revolving Credit Facility | London Interbank Offered Rate (LIBOR) |  |  |  |  |  |
Debt [Line Items] |  |  |  |  |  |
Debt instrument, basis spread on variable rate |  | 1.85% |  |  |  |
Concierge Revolving Credit Facility | Concierge Facility Used Greater Than Fifty Percent |  |  |  |  |  |
Debt [Line Items] |  |  |  |  |  |
Unused capacity commitment fee (in percent) |  | 0.35% |  |  |  |
Line of credit facility, unused capacity, commitment fee, threshold |  | 50.00% |  |  |  |
Concierge Revolving Credit Facility | Concierge Facility Used Less Than Fifty Percent |  |  |  |  |  |
Debt [Line Items] |  |  |  |  |  |
Unused capacity commitment fee (in percent) |  | 0.50% |  |  |  |
Line of credit facility, unused capacity, commitment fee, threshold |  | 50.00% |  |  |  |
Revolving Credit Facility |  |  |  |  |  |
Debt [Line Items] |  |  |  |  |  |
Maximum borrowing capacity |  |  |  |  | $ 350,000,000 |
Debt instrument, basis spread on variable rate |  |  | 1.00% |  |  |
Unused capacity commitment fee (in percent) |  |  | 0.175% |  |  |
Line of credit facility expiration month and year |  |  | 2026 |  |  |
Additional borrowing capacity |  |  |  |  | $ 250,000,000 |
Additional borrowing capacity percentage threshold to assets (in percent) |  |  |  |  | 18.50% |
Net leverage ratio |  |  |  |  | 4.50 |
Line of credit facility maximum borrowing capacity sublimit |  |  |  |  | $ 125,000,000 |
Outstanding borrowings |  |  | $ 0 |  |  |
Revolving Credit Facility | Other Current Assets |  |  |  |  |  |
Debt [Line Items] |  |  |  |  |  |
Covenant compliance |  |  | the Company was in compliance with the financial covenants under the Revolving Credit Facility. |  |  |
Revolving Credit Facility | London Interbank Offered Rate (LIBOR) |  |  |  |  |  |
Debt [Line Items] |  |  |  |  |  |
Debt instrument, basis spread on variable rate |  |  | 1.50% |  |  |
Revolving Credit Facility | Base Rate |  |  |  |  |  |
Debt [Line Items] |  |  |  |  |  |
Debt instrument, basis spread on variable rate |  |  | 0.50% |  |  |
Revolving Credit Facility | Fed Funds Effective Rate Overnight Index Swap Rate |  |  |  |  |  |
Debt [Line Items] |  |  |  |  |  |
Debt instrument, basis spread on variable rate |  |  | 0.50% |  |  |
Revolving Credit Facility | London Interbank Offered Rate (LIBOR) Swap Rate |  |  |  |  |  |
Debt [Line Items] |  |  |  |  |  |
Debt instrument, basis spread on variable rate |  |  | 1.00% |  |  |
Revolving Credit Facility | Debt Default Interest Rate |  |  |  |  |  |
Debt [Line Items] |  |  |  |  |  |
Debt instrument, basis spread on variable rate |  |  | 2.00% |  |  |
Letter of Credit |  |  |  |  |  |
Debt [Line Items] |  |  |  |  |  |
Letters of credit |  |  | $ 31,500,000 |  |  |
Second A&R Concierge Facility | Secured Overnight Financing Rate (SOFR) Overnight Index Swap Rate | Subsequent Event |  |  |  |  |  |
Debt [Line Items] |  |  |  |  |  |
Debt instrument, basis spread on variable rate | 2.35% |  |  |  |  |
Credit spread on variable rate (in percent) | 0.11448% |  |  |  |  |

X
- Definition Debt Instrument, Credit Spread On Variable Rate + References No definition available. + Details
Name: | comp_DebtInstrumentCreditSpreadOnVariableRate
Namespace Prefix: | comp_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Debt [Line Items] + References No definition available. + Details
Name: | comp_DebtLineItems
Namespace Prefix: | comp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line of Credit Facility, Additional Borrowing Capacity + References No definition available. + Details
Name: | comp_LineOfCreditFacilityAdditionalBorrowingCapacity
Namespace Prefix: | comp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Line of Credit Facility, Additional Borrowing Capacity Percentage Threshold To Assets + References No definition available. + Details
Name: | comp_LineOfCreditFacilityAdditionalBorrowingCapacityPercentageThresholdToAssets
Namespace Prefix: | comp_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Line of Credit Facility, Expiration Month And Year + References No definition available. + Details
Name: | comp_LineOfCreditFacilityExpirationMonthAndYear
Namespace Prefix: | comp_
Data Type: | xbrli:gYearItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line of credit facility maximum borrowing capacity sublimit. + References No definition available. + Details
Name: | comp_LineOfCreditFacilityMaximumBorrowingCapacitySublimit
Namespace Prefix: | comp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Line Of Credit Facility, Unused Capacity, Commitment Fee, Threshold + References No definition available. + Details
Name: | comp_LineOfCreditFacilityUnusedCapacityCommitmentFeeThreshold
Namespace Prefix: | comp_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Net leverage ratio + References No definition available. + Details
Name: | comp_NetLeverageRatio
Namespace Prefix: | comp_
Data Type: | xbrli:pureItemType
Balance Type: | na
Period Type: | instant

X
- Definition Percentage points added to the reference rate to compute the variable rate on the debt instrument. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentBasisSpreadOnVariableRate1
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Contractual interest rate for funds borrowed, under the debt agreement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1B -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(1)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentInterestRateStatedPercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

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 The carrying value as of the balance sheet date of the current and noncurrent portions of long-term obligations drawn from a line of credit, which is a bank's commitment to make loans up to a specific amount. Examples of items that might be included in the application of this element may consist of letters of credit, standby letters of credit, and revolving credit arrangements, under which borrowings can be made up to a maximum amount as of any point in time conditional on satisfaction of specified terms before, as of and after the date of drawdowns on the line. Includes short-term obligations that would normally be classified as current liabilities but for which (a) postbalance sheet date issuance of a long term obligation to refinance the short term obligation on a long term basis, or (b) the enterprise has entered into a financing agreement that clearly permits the enterprise to refinance the short-term obligation on a long term basis and the following conditions are met (1) the agreement does not expire within 1 year and is not cancelable by the lender except for violation of an objectively determinable provision, (2) no violation exists at the BS date, and (3) the lender has entered into the financing agreement is expected to be financially capable of honoring the agreement. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(16)) -URI https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(16)) -URI https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910 + Details
Name: | us-gaap_LineOfCredit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Identification of whether the entity has been in compliance with any credit facility debt covenants during the period. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(19)(b)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)(b)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_LineOfCreditFacilityCovenantCompliance
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Maximum borrowing capacity under the credit facility without consideration of any current restrictions on the amount that could be borrowed or the amounts currently outstanding under the facility. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The fee, expressed as a percentage of the line of credit facility, for available but unused credit capacity under the credit facility. + References No definition available. + Details
Name: | us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_CreditFacilityAxis=comp_ConciergeRevolvingCreditFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=us-gaap_LondonInterbankOfferedRateLIBORMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | comp_CreditFacilityUtilizationAxis=comp_ConciergeFacilityUsedGreaterThanFiftyPercentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | comp_CreditFacilityUtilizationAxis=comp_ConciergeFacilityUsedLessThanFiftyPercentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=us-gaap_RevolvingCreditFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BalanceSheetLocationAxis=us-gaap_OtherCurrentAssetsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=us-gaap_BaseRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=us-gaap_FederalFundsEffectiveSwapRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=us-gaap_LondonInterbankOfferedRateLiborSwapRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=comp_DebtDefaultInterestRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=us-gaap_LetterOfCreditMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=comp_SecondConciergeRevolvingCreditFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=us-gaap_SecuredOvernightFinancingRateSofrOvernightIndexSwapRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_SubsequentEventTypeAxis=us-gaap_SubsequentEventMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |