XML 77 R66.htm IDEA: XBRL DOCUMENT
v3.19.3.a.u2

Stock-based Compensation - Additional Information (Details) - USD ($) $ / shares in Units, $ in Thousands |  |  |  | 12 Months Ended |  |  |  |
--- | --- | --- | --- | --- | --- | --- | --- | ---
Aug. 22, 2016 | Aug. 15, 2015 | Jun. 26, 2015 | Dec. 31, 2019 | Dec. 31, 2018 | Dec. 31, 2017 | Oct. 16, 2017 | Oct. 11, 2017 | Jun. 21, 2017 | Dec. 31, 2006
Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items] |  |  |  |  |  |  |  |  |  |  |
Number of options granted in period |  |  |  | 0 |  | 0 | 0 |  |  |  |
Unrecognized stock-based compensation expense related to RSUs |  |  |  |  |  |  |  |  | $ 2,500 |  |
Total stock-based compensation expense |  |  |  | $ 34,301 |  | $ 20,794 | $ 5,028 |  |  |  |
Capitalized software development costs and internal-use software costs excluded from stock-based compensation expense |  |  |  | 1,381 |  | 490 | 176 |  |  |  |
Income tax benefit from stock-based compensation expense |  |  |  | 2,953 |  | 1,945 | $ 1,301 |  |  |  |
Total payments for employees' tax obligations to taxing authorities due to net share settlements |  |  |  | $ 16,470 |  | $ 25,885 |  |  |  |  |
Stock Options |  |  |  |  |  |  |  |  |  |  |
Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items] |  |  |  |  |  |  |  |  |  |  |
Number of options granted in period |  |  |  | 0 |  | 0 | 0 |  |  |  |
Aggregate intrinsic value for options exercised |  |  |  | $ 28,902 | [1] | $ 111,227 | $ 2,238 |  |  |  |
Unrecognized stock-based compensation expense related to stock options |  |  |  | $ 16 |  |  |  |  |  |  |
Unrecognized stock-based compensation expense, expected period for recognition |  |  |  | 3 months 18 days |  |  |  |  |  |  |
Total stock-based compensation expense |  |  |  | $ 155 |  | $ 247 | $ 281 |  |  |  |
RSUs |  |  |  |  |  |  |  |  |  |  |
Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items] |  |  |  |  |  |  |  |  |  |  |
Number of RSUs granted in period |  |  |  | 1,811,208 |  |  |  |  |  |  |
Unrecognized stock-based compensation expense, expected period for recognition |  |  |  | 2 years 9 months 18 days |  |  |  |  |  |  |
Weighted average grant date fair value of RSUs granted |  |  |  | $ 39.07 |  | $ 35.79 | $ 16.99 |  |  |  |
Number of RSUs vested and settled during period |  |  |  |  |  | 1,781,201 |  |  |  |  |
Number of RSUs vested in period |  |  |  | 1,317,736 |  | 1,087,279 | 693,922 |  |  |  |
Total fair value of RSUs vested |  |  |  | $ 31,533 |  | $ 15,994 | $ 2,505 |  |  |  |
Unrecognized stock-based compensation expense related to RSUs |  |  |  | 92,700 |  |  |  |  |  |  |
Total stock-based compensation expense |  |  |  | $ 34,146 |  | $ 20,547 | $ 4,747 |  |  |  |
Class A Common Stock |  |  |  |  |  |  |  |  |  |  |
Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items] |  |  |  |  |  |  |  |  |  |  |
Employee tax withholding requirements and option costs due to net share settlement |  |  |  | 452,678 |  | 658,931 | 0 |  |  |  |
2006 Plan |  |  |  |  |  |  |  |  |  |  |
Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items] |  |  |  |  |  |  |  |  |  |  |
Stock options, granted |  |  | 0 |  |  |  |  |  |  |  |
Number of RSUs granted in period |  |  | 0 |  |  |  |  |  |  |  |
2006 Plan | Class B Common Stock |  |  |  |  |  |  |  |  |  |  |
Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items] |  |  |  |  |  |  |  |  |  |  |
Number of shares authorized for issuance |  |  |  |  |  |  |  |  |  |  | 3,444,668
2015 Plan |  |  |  |  |  |  |  |  |  |  |
Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items] |  |  |  |  |  |  |  |  |  |  |
Number of shares authorized for issuance |  |  | 603,436 |  |  |  |  |  |  |  |
Term of authorized shares |  | 10 years |  |  |  |  |  |  |  |  |
Award expiration date | Aug. 21, 2026 |  |  |  |  |  |  |  |  |  |
Equity Incentive Plan, plan modification, description and terms |  |  |  | (1) the number of shares of Class A common stock was increased, on a share for share basis, by the number of shares of Class B common stock that were (a) subject to outstanding options granted under the 2006 Plan that expired, terminated, or were cancelled for any reason without having been exercised, (b) surrendered in payment of the exercise price of outstanding options granted under the 2006 Plan or (c) withheld in satisfaction of tax withholding upon exercise of outstanding options granted under the 2006 Plan, and the number of shares of Class B common stock reserved under the amended and restated 2015 Plan was decreased, on a corresponding share for share basis, (2) no new awards of Class B common stock could be granted under the amended and restated 2015 Plan, and (3) except with respect to outstanding options granted under the 2006 Plan that were exercised on or after the date of the amendment and restatement, no Class B common stock could be issued under the 2015 Plan. |  |  |  |  |  |  |
2015 Plan | Class B Common Stock |  |  |  |  |  |  |  |  |  |  |
Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items] |  |  |  |  |  |  |  |  |  |  |
Number of shares authorized for issuance |  |  |  |  |  |  |  |  |  | 5,161,644 |
Number of additional shares authorized | 802,562 |  |  |  |  |  |  |  |  |  |
2015 Plan | Class B Common Stock | Stock Options |  |  |  |  |  |  |  |  |  |  |
Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items] |  |  |  |  |  |  |  |  |  |  |
Number of shares called by each instrument |  |  |  |  |  |  |  |  |  | 4 |
2015 Plan | Class B Common Stock | RSUs |  |  |  |  |  |  |  |  |  |  |
Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items] |  |  |  |  |  |  |  |  |  |  |
Number of shares called by each instrument |  |  |  |  |  |  |  |  |  | 4 |
2015 Plan | Class A Common Stock |  |  |  |  |  |  |  |  |  |  |
Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items] |  |  |  |  |  |  |  |  |  |  |
Number of shares authorized for issuance |  |  |  |  |  |  |  |  |  | 3,181,740 |
Number of additional shares authorized | 618,691 |  |  |  |  |  |  |  |  |  |
2015 Plan | Class A Common Stock | Stock Options |  |  |  |  |  |  |  |  |  |  |
Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items] |  |  |  |  |  |  |  |  |  |  |
Number of shares called by each instrument |  |  |  |  |  |  |  |  |  | 2 |
2015 Plan | Class A Common Stock | RSUs |  |  |  |  |  |  |  |  |  |  |
Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items] |  |  |  |  |  |  |  |  |  |  |
Number of shares called by each instrument |  |  |  |  |  |  |  |  |  | 2 |
2017 Plan |  |  |  |  |  |  |  |  |  |  |
Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items] |  |  |  |  |  |  |  |  |  |  |
Number of additional shares authorized |  |  |  | 6,000,000 |  |  |  |  |  |  |
Equity incentive plan, issuance of additional shares, description and terms |  |  |  | Unless determined otherwise by the Compensation Committee of the Board, as of the first trading day of January of each calendar year during the term of the 2017 Plan (excluding any extensions), eligible beginning with calendar year 2019, an additional number of shares of Class A common stock will be added to the number of shares of the Company’s Class A common stock authorized to be issued or transferred under the 2017 Plan and the number of shares authorized to be issued or transferred pursuant to incentive stock options, equal to 4% of the total number of shares of our Class A common stock outstanding on the last trading day in December of the immediately preceding calendar year, or 6,000,000 shares, whichever is less, or such lesser amount as determined by the Board (the “Evergreen Increase”). The Compensation Committee of the Board determined to not effectuate the Evergreen Increase that was otherwise scheduled to have occurred on each of January 2, 2019 and January 2, 2020. |  |  |  |  |  |  |
2017 Plan | Class A Common Stock |  |  |  |  |  |  |  |  |  |  |
Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items] |  |  |  |  |  |  |  |  |  |  |
Equity incentive plan, additional shares authorized percentage |  |  |  | 4.00% |  |  |  |  |  |  |
Number of shares available for issuance during period |  |  |  | 5,889,929 |  |  |  |  |  |  |
2017 Plan | Class A Common Stock | Maximum |  |  |  |  |  |  |  |  |  |  |
Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items] |  |  |  |  |  |  |  |  |  |  |
Number of shares authorized for issuance |  |  |  |  |  |  |  | 12,300,000 |  |  |
2017 Plan | Class A Common Stock | Awarded Under 2017 Plan |  |  |  |  |  |  |  |  |  |  |
Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items] |  |  |  |  |  |  |  |  |  |  |
Number of shares authorized for issuance |  |  |  |  |  |  |  | 7,800,000 |  |  |
2017 Plan | Class A Common Stock | Awarded Under 2015 Plan |  |  |  |  |  |  |  |  |  |  |
Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items] |  |  |  |  |  |  |  |  |  |  |
Number of shares authorized for issuance |  |  |  |  |  |  |  | 4,500,000 |  |  |
[1] | The aggregate intrinsic value as of December 31, 2019 and 2018 was calculated based on the positive difference, if any, between the estimated fair value of our common stock on December 31, 2019 and 2018, respectively, or the date of exercise, as appropriate, and the exercise price of the underlying options

X
- Definition Payment of withholding taxes and option costs on net share settlement of restricted stock units and stock options. + References No definition available. + Details
Name: | carg_PaymentOfWithholdingTaxesAndOptionCostsOnNetShareSettlementOfRestrictedStockUnitsAndStockOptions
Namespace Prefix: | carg_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Share based compensation arrangement by share based payment award equity instruments other than options vested and settled in period. + References No definition available. + Details
Name: | carg_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedAndSettledInPeriod
Namespace Prefix: | carg_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Share based compensation arrangement by share based payment award number of additional shares authorized percentage. + References No definition available. + Details
Name: | carg_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfAdditionalSharesAuthorizedPercentage
Namespace Prefix: | carg_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of expense for award under share-based payment arrangement. Excludes amount capitalized. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=116856206&loc=d3e5047-113901 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 14.F) -URI http://asc.fasb.org/extlink&oid=115993241&loc=d3e301413-122809 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (h)(1)(i) -URI http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901 + Details
Name: | us-gaap_AllocatedShareBasedCompensationExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Number of securities into which each warrant or right may be converted. For example, but not limited to, each warrant may be converted into two shares. + References No definition available. + Details
Name: | us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByEachWarrantOrRight
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of cost capitalized for award under share-based payment arrangement. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (h)(1)(ii) -URI http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901 + Details
Name: | us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsCapitalizedAmount
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_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Weighted-average period over which cost not yet recognized is expected to be recognized for award under share-based payment arrangement, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (i) -URI http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901 + Details
Name: | us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of cost to be recognized for nonvested award under share-based payment arrangement. Excludes share and unit options. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (i) -URI http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901 + Details
Name: | us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of cost to be recognized for option under share-based payment arrangement. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (i) -URI http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901 + Details
Name: | us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of tax benefit for recognition of expense of award under share-based payment arrangement. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (h)(1)(i) -URI http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901 + Details
Name: | us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Description of terms of share-based payment arrangement. Includes, but is not limited to, type of award or grantee and reason for issuance. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=116856206&loc=d3e5047-113901 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardDescription
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The number of grants made during the period on other than stock (or unit) option plans (for example, phantom stock or unit plan, stock or unit appreciation rights plan, performance target plan). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(2)(iii)(1) -URI http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition The weighted average fair value at grant date for nonvested equity-based awards issued during the period on other than stock (or unit) option plans (for example, phantom stock or unit plan, stock or unit appreciation rights plan, performance target plan). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(2)(iii)(1) -URI http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition The number of equity-based payment instruments, excluding stock (or unit) options, that vested during the reporting period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(2)(iii)(2) -URI http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Fair value of share-based awards for which the grantee gained the right by satisfying service and performance requirements, to receive or retain shares or units, other instruments, or cash. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (d)(2) -URI http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalFairValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Date the equity-based award expires, in CCYY-MM-DD format. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a)(2) -URI http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardExpirationDate
Namespace Prefix: | us-gaap_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

X
- Definition Net number of non-option equity instruments granted to participants. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(1)(iv)(1) -URI http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsGranted
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of additional shares authorized for issuance under share-based payment arrangement. + References No definition available. + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfAdditionalSharesAuthorized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of shares authorized for issuance under share-based payment arrangement. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a)(3) -URI http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition The difference between the maximum number of shares (or other type of equity) authorized for issuance under the plan (including the effects of amendments and adjustments), and the sum of: 1) the number of shares (or other type of equity) already issued upon exercise of options or other equity-based awards under the plan; and 2) shares (or other type of equity) reserved for issuance on granting of outstanding awards, net of cancellations and forfeitures, if applicable. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of accumulated difference between fair value of underlying shares on dates of exercise and exercise price on options exercised (or share units converted) into shares. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (d)(2) -URI http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Gross number of share options (or share units) granted during the period. + References No definition available. + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Description of modification of award under share-based payment arrangement. Includes, but is not limited to, terms for expiration date, vesting rights and exercise price. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (h)(2)(i) -URI http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardPlanModificationDescriptionAndTerms
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Period from grant date that an equity-based award expires, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a)(2) -URI http://asc.fasb.org/extlink&oid=116856206&loc=d3e5070-113901 + Details
Name: | us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of shares used to settle grantee's tax withholding obligation for award under share-based payment arrangement. + References No definition available. + Details
Name: | us-gaap_SharesPaidForTaxWithholdingForShareBasedCompensation
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_AwardTypeAxis=us-gaap_EmployeeStockOptionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AwardTypeAxis=us-gaap_RestrictedStockUnitsRSUMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementClassOfStockAxis=us-gaap_CommonClassAMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PlanNameAxis=carg_TwoThousandSixPlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementClassOfStockAxis=us-gaap_CommonClassBMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PlanNameAxis=carg_TwoThousandFifteenPlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PlanNameAxis=carg_TwoThousandSeventeenPlanMember
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_AwardDateAxis=carg_TwoThousandSeventeenMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AwardDateAxis=carg_TwoThousandFifteenMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |