XML 13 R1.htm IDEA: XBRL DOCUMENT v3.22.1
Document and Entity Information - shares
3 Months Ended
Mar. 31, 2022
Apr. 14, 2022
Cover [Abstract]    
Document Type 10-Q  
Document Quarterly Report true  
Document Transition Report false  
Document Period End Date Mar. 31, 2022  
Entity File Number 001-09463  
Entity Registrant Name RLI Corp  
Entity Incorporation, State or Country Code DE  
Entity Tax Identification Number 37-0889946  
Entity Address, Address Line One 9025 North Lindbergh Drive  
Entity Address, City or Town Peoria  
Entity Address, State or Province IL  
Entity Address, Postal Zip Code 61615  
City Area Code 309  
Local Phone Number 692-1000  
Title of 12(b) Security Common Stock $0.01 par value  
Trading Symbol RLI  
Security Exchange Name NYSE  
Entity Current Reporting Status Yes  
Entity Interactive Data Current Yes  
Entity Filer Category Large Accelerated Filer  
Entity Small Business false  
Entity Emerging Growth Company false  
Entity Shell Company false  
Entity Common Stock, Shares Outstanding   45,316,042
Current Fiscal Year End Date --12-31  
Document Fiscal Year Focus 2022  
Document Fiscal Period Focus Q1  
Entity Central Index Key 0000084246  
Amendment Flag false