XML 65 R51.htm IDEA: XBRL DOCUMENT v3.7.0.1
Debt - Summary of Carrying Value of Convertible Notes (Detail) - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2017
Jun. 30, 2016
Debt Instrument [Line Items]    
Gross proceeds $ 201,250  
Amortization of debt discount and debt issuance costs 1,190 $ 18
Carrying value 2024 Convertible Notes 133,484  
2024 Convertible Notes [Member]    
Debt Instrument [Line Items]    
Gross proceeds 201,250  
Gross Proceeds, 'Portion allocated to equity (additional paid-in capital) (64,541)  
Debt issuance costs (6,470)  
Debt issuance costs, 'Portion allocated to equity (additional paid-in capital) 2,075  
Amortization of debt discount and debt issuance costs 1,170  
Carrying value 2024 Convertible Notes $ 133,484