XML 17 R6.htm IDEA: XBRL DOCUMENT v3.19.1
Condensed Consolidated Statements of Comprehensive Income (Loss) (Parenthetical) - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2019
Mar. 31, 2018
Statement Of Income And Comprehensive Income [Abstract]    
Unrealized gains (losses) on investments, tax $ 1,397 $ (1,555)