XML 101 R71.htm IDEA: XBRL DOCUMENT v3.21.1
Transaction with JD.com, Inc. - Additional Information (Details)
¥ in Thousands, $ in Thousands
12 Months Ended
May 08, 2015
CNY (¥)
shares
May 08, 2015
USD ($)
shares
Dec. 31, 2020
CNY (¥)
Dec. 31, 2020
USD ($)
Dec. 31, 2019
CNY (¥)
Dec. 31, 2020
USD ($)
Transaction with JD.com, Inc. [Line Items]            
Impairment of intangible assets     ¥ 31,876 $ 4,885 ¥ 32,014  
Carrying value of above intangible assets     71,362   166,267 $ 10,937
Business Cooperation Agreement [Member]            
Transaction with JD.com, Inc. [Line Items]            
Agreement period 5 years 5 years        
Impairment of intangible assets     9,554   ¥ 32,014  
Carrying value of above intangible assets     ¥ 0      
Share subscription agreement and Business Cooperation Agreement [Member] | Class A ordinary shares            
Transaction with JD.com, Inc. [Line Items]            
Ordinary shares issued | shares 65,625,000 65,625,000        
Cash consideration of ordinary shares issued ¥ 1,528,200 $ 250,000