XML 70 R59.htm IDEA: XBRL DOCUMENT v3.10.0.1
Income Taxes - Additional Information (Detail) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended 12 Months Ended
Jun. 30, 2018
Jun. 30, 2017
Jun. 30, 2018
Jun. 30, 2017
Dec. 31, 2017
Income Tax Disclosure [Abstract]          
Pre-tax losses $ (17,346) $ (9,302) $ (34,159) $ (31,537)  
Benefit from income taxes $ 152 $ 2 $ 198 $ 33  
Percentage of annual research and development credit for cash     65.00%    
Income tax rate     21.00%   35.00%