XML 21 R6.htm IDEA: XBRL DOCUMENT v3.8.0.1
Consolidated Statements of Comprehensive Income (Parenthetical) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2017
Dec. 31, 2016
Dec. 31, 2015
Statement Of Income And Comprehensive Income [Abstract]      
Unrealized (losses) gains on investments, tax $ (505) $ 19 $ (8)