v3.7.0.1
Fair Value Measurements - Summary of Carrying Amounts and Estimated Fair Values of Financial Instruments (Detail) - USD ($)
$ in Thousands
Apr. 30, 2017
Jan. 31, 2017
Jun. 30, 2013
0.75% Convertible senior notes      
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]      
Net Carrying Amount Before Unamortized Debt Issuance Costs $ 329,664 $ 325,620  
Estimated Fair Value $ 407,313 402,259  
Contractual interest rate 0.75%   0.75%
1.50% Convertible senior notes      
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]      
Net Carrying Amount Before Unamortized Debt Issuance Costs $ 215,586 213,180  
Estimated Fair Value $ 311,480 $ 310,470  
Contractual interest rate 1.50%   1.50%