XML 24 R5.htm IDEA: XBRL DOCUMENT v3.8.0.1
Consolidated Statements of Operations and Comprehensive Loss (Parenthetical) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2017
Dec. 31, 2016
Dec. 31, 2015
Statement Of Income And Comprehensive Income [Abstract]      
Unrealized gain (loss) on investment, tax $ 0 $ 0 $ 0