Annual and transition report of foreign private issuers pursuant to Section 13 or 15(d)

Description of Business, Organization and Significant Concentrations and Risk - VIE Agreements - Additional Information (Details)

v3.22.1
Description of Business, Organization and Significant Concentrations and Risk - VIE Agreements - Additional Information (Details)
12 Months Ended
Aug. 17, 2020
CNY (¥)
Aug. 12, 2020
Aug. 11, 2020
Mar. 15, 2018
CNY (¥)
Dec. 31, 2021
CNY (¥)
Dec. 31, 2021
USD ($)
Dec. 31, 2020
CNY (¥)
Dec. 31, 2019
CNY (¥)
Mar. 19, 2019
CNY (¥)
Dec. 28, 2018
CNY (¥)
Mar. 31, 2018
CNY (¥)
Variable Interest Entity                      
Assets         ¥ 507,175,310 $ 79,586,874 ¥ 575,621,032        
ATA Intelligent Learning's nominee shareholders, Mr. Xiaofeng Ma, Mr. Jun Zhang or Mr. Haichang Xiong                      
Variable Interest Entity                      
Loan amount         ¥ 10,000,000.0       ¥ 50,000,000.0   ¥ 10,000,000.0
Term of loan         10 years            
ATA Intelligent Learning's nominee shareholders, Mr. Xiaofeng Ma, Mr. Jun Zhang or Mr. Haichang Xiong | Loan Agreement On March192019                      
Variable Interest Entity                      
Loan amount               ¥ 40,000,000.0      
ATA Intelligent Learning's nominee shareholders, Mr. Xiaofeng Ma and Mr. Haichang Xiong | Loan on March 15, 2018                      
Variable Interest Entity                      
Loan amount       ¥ 1,000,000.0              
ATA Intelligent Learning's nominee shareholders, Mr. Xiaofeng Ma and Mr. Haichang Xiong | Loan on December 28, 2018                      
Variable Interest Entity                      
Loan amount                   ¥ 9,000,000.0  
ATA Intelligent Learning                      
Variable Interest Entity                      
Registered capital         ¥ 50,000,000.0            
Assets         62,932,360   ¥ 75,948,774        
ATA Intelligent Learning | Assets Pledged as collateral                      
Variable Interest Entity                      
Assets         ¥ 0            
ATA Intelligent Learning | Beijing Zhenwu Technology Development Company Limited                      
Variable Interest Entity                      
Legal ownership interest (as a percent)         70.00%            
ATA Intelligent Learning | ATA Education                      
Variable Interest Entity                      
Percentage of equity interest that can be acquired as per exclusive purchase option         100.00%            
Term of agreement       30 years              
Notice period prior to expiration of agreement         30 days            
ATA Intelligent Learning | ATA Education | Exclusive technical consulting and services agreement                      
Variable Interest Entity                      
Automatic renewal term of the agreement       10 years              
Notice period prior to expiration of agreement       3 months              
Mr. Xiaofeng Ma | ATA Intelligent Learning | Minimum                      
Variable Interest Entity                      
Legal ownership         40.00% 40.00% 40.00%        
Mr. Xiaofeng Ma | ATA Intelligent Learning                      
Variable Interest Entity                      
Legal ownership interest (as a percent)         90.00%            
Mr. Haichang Xiong | ATA Intelligent Learning's nominee shareholders, Mr. Xiaofeng Ma, Mr. Jun Zhang or Mr. Haichang Xiong                      
Variable Interest Entity                      
Repayment of short-term borrowings ¥ 5,000,000.0                    
Mr. Haichang Xiong | ATA Intelligent Learning                      
Variable Interest Entity                      
Legal ownership interest (as a percent)     10.00%                
Mr. Jun Zhang | ATA Intelligent Learning's nominee shareholders, Mr. Xiaofeng Ma, Mr. Jun Zhang or Mr. Haichang Xiong                      
Variable Interest Entity                      
Proceeds from Issuance of Debt ¥ 5,000,000.0                    
Mr. Jun Zhang | ATA Intelligent Learning                      
Variable Interest Entity                      
Legal ownership interest (as a percent)   10.00%