XML 22 R6.htm IDEA: XBRL DOCUMENT v3.19.2
Condensed Consolidated Statements of Comprehensive Income (Loss) (Parenthetical) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2019
Jun. 30, 2018
Jun. 30, 2019
Jun. 30, 2018
Statement Of Income And Comprehensive Income [Abstract]        
Unrealized gains (losses) on investments, tax $ 1,164 $ (373) $ 2,561 $ (1,928)