XML 67 R50.htm IDEA: XBRL DOCUMENT
v3.22.1

Short-term investments (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2021
Debt Securities, Held-to-maturity, Fair Value to Amortized Cost [Abstract] |
Summary of Short-term investments classification | Short-term investments classification as of December 31, 2020 and 2021 were shown as below:
|  | As of December 31, 2020 |
|  | Cost or Amortized cost |  |  | Gross unrecognized holding gains |  |  | Gross unrecognized holding losses |  |  | Gross unrecognized gains |  |  | Gross unrecognized losses |  |  | Fair value |
|  | RMB |  |  |  |  |  |  |  |  |  |  |  |  |  |  | RMB |
Held-to-maturity debt investments |  |  | 80,000 |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | 80,000 |
|  | As of December 31, 2021 |
|  | Cost or Amortized cost |  |  | Gross unrecognized holding gains |  |  | Gross unrecognized holding losses |  |  | Gross unrecognized gains |  |  | Gross unrecognized losses |  |  | Fair value |
|  | RMB |  |  | USD |  |  |  |  |  |  |  |  |  |  |  |  |  |  | RMB |  |  | USD |
Held-to-maturity debt investments |  |  | 30,000 |  |  |  | 4,708 |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | — |  |  |  | 30,000 |  |  |  | 4,708 |

X
- References No definition available. + Details
Name: | us-gaap_HeldToMaturitySecuritiesAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of information about investment in debt security measured at amortized cost (held-to-maturity). + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 5B -URI http://asc.fasb.org/extlink&oid=123581744&loc=SL120269825-111563 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 5A -URI http://asc.fasb.org/extlink&oid=123581744&loc=SL120269820-111563 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=123581744&loc=d3e27232-111563 + Details
Name: | us-gaap_HeldToMaturitySecuritiesTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration