XML 17 R5.htm IDEA: XBRL DOCUMENT v3.8.0.1
CONDENSED CONSOLIDATED STATEMENTS OF COMPREHENSIVE LOSS (Parenthetical) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2017
Sep. 30, 2016
Sep. 30, 2017
Sep. 30, 2016
Statement Of Income And Comprehensive Income [Abstract]        
Unrealized (losses) gains on available-for-sale investments, taxes $ 0 $ 137 $ 0 $ (2,126)