XML 64 R49.htm IDEA: XBRL DOCUMENT v3.19.2
Debt - Summary of Carrying Value of Convertible Notes (Detail) - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2019
Jun. 30, 2018
Dec. 31, 2018
Debt Instrument [Line Items]      
Amortization of debt discount and debt issuance costs $ 4,184 $ 3,811  
Carrying value 2024 Convertible Notes 149,046   $ 144,879
2024 Convertible Notes [Member]      
Debt Instrument [Line Items]      
Gross proceeds 201,250    
Gross proceeds, Portion of proceeds allocated to equity component (additional paid-in capital) (64,541)    
Debt issuance costs (6,470)    
Debt issuance costs, Portion of issuance costs allocated to equity component (additional paid-in capital) 2,075    
Amortization of debt discount and debt issuance costs 16,732    
Carrying value 2024 Convertible Notes $ 149,046