XML 17 R6.htm IDEA: XBRL DOCUMENT v3.7.0.1
Consolidated Statements of Comprehensive Income (Loss) (Parenthetical) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2014
Statement Of Income And Comprehensive Income [Abstract]      
Unrealized gain on marketable securities, tax $ (14,294) $ 14,294 $ 0