XML 20 R6.htm IDEA: XBRL DOCUMENT v3.21.2
Condensed Consolidated Statements of Comprehensive Income (Parenthetical) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2021
Jun. 30, 2020
Jun. 30, 2021
Jun. 30, 2020
Statement Of Income And Comprehensive Income [Abstract]        
Unrealized (losses) gains on investments, tax $ 828 $ 2,630 $ (1,179) $ 1,584