XML 48 R35.htm IDEA: XBRL DOCUMENT
v3.21.1

Debt - Additional Information (Detail) - USD ($) $ in Millions |  | 3 Months Ended |
--- | --- | --- | ---
Jul. 31, 2020 | Mar. 31, 2021 | Dec. 31, 2020
Concierge Revolving Credit Facility [Member] |  |  |
Debt [Line Items] |  |  |
Maximum borrowing capacity | $ 75.0 |  |
Interest rate basis | 3.00 |  |
Unused capacity commitment fee percentage | 0.50% |  |
Line of credit facility expiration month and year |  | 2022 |
Debt instrument interest rate | 3.22% |  |
Line of credit |  | $ 10.2 | $ 8.4
Covenant compliance |  | the Company was in compliance with the covenants under the Concierge Facility. |
Debt issuance costs |  | $ 1.4 |
Revolving Credit Facility [Member] |  |  |
Debt [Line Items] |  |  |
Maximum borrowing capacity |  | $ 350.0 |
Interest rate basis |  | 1.00 |
Unused capacity commitment fee percentage |  | 0.175% |
Line of credit facility expiration month and year |  | 2026 |
Additional borrowing capacity |  | $ 250.0 |
Additional borrowing capacity percentage threshold to assets |  | 18.50% |
Net leverage ratio |  | 4.50 |
Letters of credit |  | $ 125.0 |
Minimum liquidity |  | $ 150.0 |
Revolving Credit Facility [Member] | Other Current Assets [Member] |  |  |
Debt [Line Items] |  |  |
Covenant compliance |  | the Company was in compliance with the covenants under the Revolving Credit Facility. |
Debt issuance costs |  | $ 1.4 |
Revolving Credit Facility [Member] | Base Rate [Member] |  |  |
Debt [Line Items] |  |  |
Interest rate basis |  | 0.50 |
Revolving Credit Facility [Member] | London Interbank Offered Rate (LIBOR) [Member] |  |  |
Debt [Line Items] |  |  |
Interest rate basis |  | 1.50 |
Revolving Credit Facility [Member] | Federal Funds Effective Swap Rate [Member] |  |  |
Debt [Line Items] |  |  |
Interest rate basis |  | 0.50 |
Revolving Credit Facility [Member] | London Interbank Offered Rate (LIBOR) Swap Rate [Member] |  |  |
Debt [Line Items] |  |  |
Interest rate basis |  | 1.00 |
Revolving Credit Facility [Member] | Debt Default Interest Rate [Member] |  |  |
Debt [Line Items] |  |  |
Interest rate basis |  | 2.0 |

X
- 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: | num: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 Minimum Liquidity + References No definition available. + Details
Name: | comp_MinimumLiquidity
Namespace Prefix: | comp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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 Description of any adjustments made to the stated rate to determine the effective rate. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=119993939&loc=d3e28551-108399 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 http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentInterestRateBasisForEffectiveRate
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Contractual interest rate for funds borrowed, under the debt 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(a)(1)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentInterestRateStatedPercentage
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount, before accumulated amortization, of debt issuance costs classified as noncurrent. Includes, but is not limited to, legal, accounting, underwriting, printing, and registration costs. + 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.17) -URI http://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 835 -SubTopic 30 -Section 45 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=119993939&loc=d3e28555-108399 + Details
Name: | us-gaap_DeferredFinanceCostsNoncurrentGross
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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 http://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 http://asc.fasb.org/extlink&oid=120398452&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 http://asc.fasb.org/extlink&oid=120400017&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 http://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 http://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 http://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: | num: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_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_LondonInterbankOfferedRateLIBORMember
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: |