Long-Term Investments - Additional Information (Detail)
$ in Thousands
1 Months Ended 12 Months Ended
May 31, 2015
CNY (¥)
Jul. 31, 2017
CNY (¥)
Dec. 31, 2017
CNY (¥)
Dec. 31, 2017
USD ($)
Dec. 31, 2016
CNY (¥)
Dec. 31, 2015
Sep. 30, 2015
CNY (¥)
Visionstar Information Technology (Shanghai) Co., Ltd. [Member]              
Schedule of Equity Method Investments [Line Items]              
Business acquisition percentage of interests acquired   10.00%          
Business acquisition cash consideration   ¥ 30,000,000          
Hunan Mango Autohome Automobile Sales Co Ltd [Member]              
Schedule of Equity Method Investments [Line Items]              
Total capital contribution ¥ 100,000,000            
Cash consideration paid to joint venture ¥ 49,000,000            
Ownership percentage 49.00%            
Impairment charges     ¥ 0        
Shanghai You Che You Jia Financing Co., Ltd              
Schedule of Equity Method Investments [Line Items]              
Cash consideration paid to joint venture             ¥ 75,000,000
Ownership percentage           25.00%  
Impairment charges     0        
Other investments [Member]              
Schedule of Equity Method Investments [Line Items]              
Carrying amount of equity method investments     ¥ 147,929,000 $ 22,736 ¥ 134,466,000