XML 89 R63.htm IDEA: XBRL DOCUMENT
v3.19.3.a.u2

Convertible Preferred Stock and Stockholders' Equity - Additional Information (Details) - $ / shares |  |  | 12 Months Ended |  |
--- | --- | --- | --- | --- | ---
Oct. 16, 2017 | Jun. 21, 2017 | Dec. 31, 2019 | Dec. 31, 2018 | Oct. 11, 2017
Class Of Stock [Line Items] |  |  |  |  |
Preferred stock, shares authorized | 10,000,000 | 11,091,782 |  |  | 11,091,782
Preferred stock, par value | $ 0.001 | $ 0.001 |  |  |
Percentage of common stock exercise price adjusted |  | 0.167% |  |  |
Percentage of common stock fair value adjusted prior to recapitalization |  | 0.167% |  |  |
Common stock exercise feature |  |  | the number of shares of common stock as to which each outstanding option to purchase common stock was exercisable for and each outstanding RSU was convertible into was adjusted such that upon exercise of outstanding stock options or vesting of outstanding RSUs, each holder would receive two fully paid and non‑assessable shares of Class A common stock and four fully paid and non‑assessable shares of Class B common stock in respect of each share of common stock previously underlying such option or RSU |  |
Conversion of convertible securities into shares of common stock | 9,091,484 |  |  |  |
Preferred stock, shares outstanding | 0 |  | 0 | 0 |
IPO |  |  |  |  |
Class Of Stock [Line Items] |  |  |  |  |
Preferred stock, shares outstanding | 0 |  |  |  |
Class A Common Stock |  |  |  |  |
Class Of Stock [Line Items] |  |  |  |  |
Common stock, shares authorized | 500,000,000 | 120,020,700 | 500,000,000 | 500,000,000 |
Common stock, par value | $ 0.001 | $ 0.001 | $ 0.001 | $ 0.001 |
Common stock conversion terms |  |  | each share of Class A common stock issued and outstanding was recapitalized, reclassified, and reconstituted into two fully paid and non‑assessable shares of outstanding Class A common stock and four fully paid and non‑assessable shares of outstanding Class B common stock |  |
Number of shares issued upon exercise of outstanding stock options or vesting of outstanding RSUs |  | 2 |  |  |
Conversion of convertible securities into shares of common stock | 60,564,678 |  |  |  |
Class A Common Stock | IPO |  |  |  |  |
Class Of Stock [Line Items] |  |  |  |  |
Conversion of convertible securities into shares of common stock | 20,188,226 |  |  |  |
Class A Common Stock | Class A Common Stock Recapitalized, Reclassified And Reconstituted [Member] |  |  |  |  |
Class Of Stock [Line Items] |  |  |  |  |
Common stock issued in conversion |  | 2 |  |  |
Class A Common Stock | Class B Common Stock Recapitalized, Reclassified And Reconstituted [Member] |  |  |  |  |
Class Of Stock [Line Items] |  |  |  |  |
Common stock issued in conversion |  | 2 |  |  |
Class A Common Stock | Subsequent Conversion |  |  |  |  |
Class Of Stock [Line Items] |  |  |  |  |
Conversion of convertible securities into shares of common stock | 40,376,452 |  |  |  |
Class B Common Stock |  |  |  |  |
Class Of Stock [Line Items] |  |  |  |  |
Common stock, shares authorized | 100,000,000 | 80,013,800 | 100,000,000 | 100,000,000 |
Common stock, par value | $ 0.001 | $ 0.001 | $ 0.001 | $ 0.001 |
Common stock conversion terms |  |  | each share of Class B common stock of the Company issued and outstanding was recapitalized, reclassified, and reconstituted into two fully paid and non‑assessable shares of outstanding Class A common stock and four fully paid and non‑assessable shares of outstanding Class B common stock |  |
Number of shares issued upon exercise of outstanding stock options or vesting of outstanding RSUs |  | 4 |  |  |
Conversion of convertible securities into shares of common stock | 40,376,452 |  |  |  |
Class B Common Stock | Class A Common Stock Recapitalized, Reclassified And Reconstituted [Member] |  |  |  |  |
Class Of Stock [Line Items] |  |  |  |  |
Common stock issued in conversion |  | 4 |  |  |
Class B Common Stock | Class B Common Stock Recapitalized, Reclassified And Reconstituted [Member] |  |  |  |  |
Class Of Stock [Line Items] |  |  |  |  |
Common stock issued in conversion |  | 4 |  |  |
Series A Preferred Stock |  |  |  |  |
Class Of Stock [Line Items] |  |  |  |  |
Preferred stock, shares authorized |  | 3,333,000 |  |  | 3,333,000
Series B Preferred Stock |  |  |  |  |
Class Of Stock [Line Items] |  |  |  |  |
Preferred stock, shares authorized |  | 3,329,497 |  |  | 3,329,497
Series D Preferred Stock |  |  |  |  |
Class Of Stock [Line Items] |  |  |  |  |
Preferred stock, shares authorized |  | 1,673,105 |  |  | 1,673,105
Series C Preferred Stock |  |  |  |  |
Class Of Stock [Line Items] |  |  |  |  |
Preferred stock, shares authorized |  | 1,648,978 |  |  | 1,648,978
Series E Preferred Stock |  |  |  |  |
Class Of Stock [Line Items] |  |  |  |  |
Preferred stock, shares authorized |  | 1,107,202 |  |  | 1,107,202

X
- Definition Number of fully paid and non-assessable shares issued upon exercise of stock options or vesting of restricted stock units. + References No definition available. + Details
Name: | carg_NumberOfFullyPaidAndNonAssessableSharesIssuedUponExerciseOfStockOptionsOrVestingOfRestrictedStockUnits
Namespace Prefix: | carg_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of fully paid and non-assessable shares of outstanding common stock issued in conversion. + References No definition available. + Details
Name: | carg_NumberOfFullyPaidAndNonAssessableSharesOfOutstandingCommonStockIssuedInConversion
Namespace Prefix: | carg_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Percentage of common stock exercise price adjusted. + References No definition available. + Details
Name: | carg_PercentageOfCommonStockExercisePriceAdjusted
Namespace Prefix: | carg_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of common stock fair value adjusted prior to recapitalization. + References No definition available. + Details
Name: | carg_PercentageOfCommonStockFairValueAdjustedPriorToRecapitalization
Namespace Prefix: | carg_
Data Type: | num:percentItemType
Balance Type: | na
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_ClassOfStockLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Describe the call and/or exercise rights, prices and dates of common stock. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=109259400&loc=d3e21475-112644 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(29)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_CommonStockCallOrExerciseFeatures
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Description of basis for conversion of convertible common stock. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_CommonStockConversionBasis
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Face amount or stated value per share of common stock. + 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(29)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_CommonStockParOrStatedValuePerShare
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition The maximum number of common shares permitted to be issued by an entity's charter and bylaws. + 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(29)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_CommonStockSharesAuthorized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Aggregate share number for all nonredeemable preferred stock (or preferred stock redeemable solely at the option of the issuer) held by stockholders. Does not include preferred shares that have been repurchased. + 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(28)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_PreferredStockSharesOutstanding
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of shares issued during the period as a result of the conversion of convertible securities. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770 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.29-30) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=109259400&loc=d3e21475-112644 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=109259400&loc=d3e21463-112644 + Details
Name: | us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Per share amount of par value or stated value of stock classified as temporary equity. Temporary equity is a security with redemption features that are outside the control of the issuer, is not classified as an asset or liability in conformity with GAAP, and is not mandatorily redeemable. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 480 -SubTopic 10 -Section S99 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=65877616&loc=d3e177068-122764 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 (27) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_TemporaryEquityParOrStatedValuePerShare
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition The maximum number of securities classified as temporary equity that are permitted to be issued by an entity's charter and bylaws. Temporary equity is a security with redemption features that are outside the control of the issuer, is not classified as an asset or liability in conformity with GAAP, and is not mandatorily redeemable. Includes any type of security that is redeemable at a fixed or determinable price or on a fixed or determinable date or dates, is redeemable at the option of the holder, or has conditions for redemption which are not solely within the control of the issuer. If convertible, the issuer does not control the actions or events necessary to issue the maximum number of shares that could be required to be delivered under the conversion option if the holder exercises the option to convert the stock to another class of equity. If the security is a warrant or a rights issue, the warrant or rights issue is considered to be temporary equity if the issuer cannot demonstrate that it would be able to deliver upon the exercise of the option by the holder in all cases. Includes stock with put option held by ESOP and stock redeemable by holder only in the event of a change in control of the issuer. + 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(27)(b)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_TemporaryEquitySharesAuthorized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Details
Name: | us-gaap_SubsidiarySaleOfStockAxis=us-gaap_IPOMember
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_ConversionOfStockByUniqueDescriptionAxis=carg_RecapitalizedReclassifiedAndReconstitutedClassACommonStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ConversionOfStockByUniqueDescriptionAxis=carg_RecapitalizedReclassifiedAndReconstitutedClassBCommonStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ConversionOfStockByUniqueDescriptionAxis=carg_SubsequentConversionMember
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_StatementClassOfStockAxis=us-gaap_SeriesAPreferredStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

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

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