XML 87 R70.htm IDEA: XBRL DOCUMENT
v3.22.1

Long-Term Investments - Additional Information (Details) ¥ in Thousands, $ in Thousands | 12 Months Ended |  |  |
--- | --- | --- | --- | ---
Dec. 31, 2021 CNY (¥) | Dec. 31, 2021 USD ($) | Dec. 31, 2020 CNY (¥) | Dec. 31, 2019 CNY (¥) | Dec. 31, 2021 USD ($) | Dec. 31, 2018 CNY (¥) | Dec. 31, 2017 CNY (¥)
Schedule Of Investments [Line Items] |  |  |  |  |  |  |
Percentage of share acquired |  |  |  | 5.93% |  |  |
Cost Method Investments, Fair Value Disclosure |  |  |  | ¥ 3,043 |  |  |
Equity Securities without Readily Determinable Fair Value, Amount | ¥ 141,926 |  | ¥ 168,526 |  | $ 22,271 |  |
Cost-method Investments, Other than Temporary Impairment | 25,370 | $ 3,981 | 38,739 | ¥ 0 |  |  |
Accumulated imapirment of equity investments | ¥ 63,902 |  | ¥ 38,739 |  | $ 10,028 |  |
Zhuoxuan |  |  |  |  |  |  |
Schedule Of Investments [Line Items] |  |  |  |  |  |  |
Percentage of share acquired |  |  |  | 5.93% |  |  |
Cost method investments |  |  |  | ¥ 7,265 |  | ¥ 7,265 |
Shuwei |  |  |  |  |  |  |
Schedule Of Investments [Line Items] |  |  |  |  |  |  |
Percentage of share acquired |  |  |  | 2.89% |  | 4.27% | 6.25%
Proceeds from sale of an equity investment sold |  |  |  | ¥ 10,000 |  |  |
Realized gain (loss) on disposal of equity investment securities with out readily determinable fair value |  |  |  | 6,778 |  |  |
Unrealized gain (loss) on disposal of equity investment securities with out readily determinable fair value |  |  |  | ¥ 14,255 |  |  |
Cost method investments |  |  |  |  |  |  | ¥ 10,000

X
- Definition Accumulated impairment of equity investments. + References No definition available. + Details
Name: | jg_AccumulatedImpairmentOfEquityInvestments
Namespace Prefix: | jg_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Percentage of investment acquired. + References No definition available. + Details
Name: | jg_PercentageOfInvestmentAcquired
Namespace Prefix: | jg_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Proceeds from sale of equity investment securities with out readily determinable fair value. + References No definition available. + Details
Name: | jg_ProceedsFromSaleOfEquityInvestmentSecuritiesWithOutReadilyDeterminableFairValue
Namespace Prefix: | jg_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Realized gain (loss) on disposal of equity investment securities with out readily determinable fair value. + References No definition available. + Details
Name: | jg_RealizedGainLossOnDisposalOfEquityInvestmentSecuritiesWithOutReadilyDeterminableFairValue
Namespace Prefix: | jg_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Unrealized gain (loss) on disposal of equity investment securities with out readily determinable fair value. + References No definition available. + Details
Name: | jg_UnrealizedGainLossOnDisposalOfEquityInvestmentSecuritiesWithOutReadilyDeterminableFairValue
Namespace Prefix: | jg_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Fair value portion of investments accounted under the cost method. + References No definition available. + Details
Name: | us-gaap_CostMethodInvestmentsFairValueDisclosure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition This item represents an other than temporary decline in value that has been recognized against an investment accounted for under the equity method of accounting. The excess of the carrying amount over the fair value of the investment represents the amount of the write down which is or was reflected in earnings. The written down value is a new cost basis with the adjusted value of the investment becoming its new carrying value subject to the equity accounting method. Evidence of a loss in value might include, but would not necessarily be limited to, absence of an ability to recover the carrying amount of the investment or inability of the investee to sustain an earnings capacity which would justify the carrying amount of the investment. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 10 -Section 35 -Paragraph 32 -URI http://asc.fasb.org/extlink&oid=124268079&loc=d3e32787-111569 + Details
Name: | us-gaap_EquityMethodInvestmentOtherThanTemporaryImpairment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Cost of investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI). Excludes equity method investment and investment in equity security without readily determinable fair value. + References No definition available. + Details
Name: | us-gaap_EquitySecuritiesFvNiCost
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of investment in equity security without readily determinable fair value. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 321 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123583765&loc=SL75117539-209714 + Details
Name: | us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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_ScheduleOfInvestmentsLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | jg_InvestmentIssuerAxis=jg_ZhuoxuanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | jg_InvestmentIssuerAxis=jg_ShuweiMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |