XML 39 R27.htm IDEA: XBRL DOCUMENT v3.10.0.1
Summary of Significant Accounting Policies - Schedule of Reconciliation of Cash, Cash Equivalents, and Restricted Cash (Detail) - USD ($)
$ in Thousands
Jun. 30, 2018
Dec. 31, 2017
Jun. 30, 2017
Dec. 31, 2016
Cash Cash Equivalents And Restricted Cash [Line Items]        
Cash and cash equivalents $ 22,460 $ 93,441 $ 135,501  
Restricted cash (short term)     102  
Restricted cash (long term) 584   60,682  
Total cash, cash equivalents and restricted cash shown in the condensed consolidated statement of cash flows 23,236 $ 94,217 $ 196,285 $ 22,300
Prepaid Expenses and Other Current Assets [Member]        
Cash Cash Equivalents And Restricted Cash [Line Items]        
Restricted cash (short term) $ 192