Short-Term Investments - Additional Information (Detail) - USD ($)
3 Months Ended 12 Months Ended
Apr. 30, 2018
Jan. 31, 2018
Investments Debt And Equity Securities [Abstract]    
Other-than-temporary impairment losses on investments $ 0 $ 0