XML 17 R7.htm IDEA: XBRL DOCUMENT v3.10.0.1
UNAUDITED CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (LOSS) (Parenthetical) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2018
Jun. 30, 2017
Jun. 30, 2018
Jun. 30, 2017
Statement of Comprehensive Income [Abstract]        
Unrealized gains (losses) on available-for-sale securities, taxes $ 8 $ 20 $ 88 $ 122
Reclassification adjustment for gains on available-for-sale securities included in net (loss) income taxes     0 $ 0
Foreign currency translation adjustments, tax benefit     $ (5,600)