XML 60 R40.htm IDEA: XBRL DOCUMENT v3.8.0.1
Debt - Summary of Carrying Value of Convertible Notes (Detail) - 2021 Convertible Notes [Member] - USD ($)
$ in Thousands
Dec. 31, 2017
Dec. 31, 2016
Debt Instrument [Line Items]    
Carrying value $ 49,541 $ 48,960
Senior Notes [Member]    
Debt Instrument [Line Items]    
Gross proceeds   52,000
Initial value of issuance costs recorded as debt discount   (3,262)
Amortization of debt discount 581 222
Carrying value $ 49,541 $ 48,960