XML 55 R46.htm IDEA: XBRL DOCUMENT v3.19.2
Income taxes - Additional Information (Detail) - USD ($)
3 Months Ended 9 Months Ended 12 Months Ended
Jul. 31, 2019
Jul. 31, 2018
Jul. 31, 2019
Jul. 31, 2018
Oct. 31, 2018
Oct. 31, 2017
Disclosure Income Taxes Additional Information [Abstract]            
Provision for income tax as percentage of income (loss) before income taxes 22.00% 19.00% 22.00% 20.00%    
Effective Income Tax Rate Reconciliation, at Federal Statutory Income Tax Rate, Percent         21.00% 35.00%
Unrecognized tax benefits, inclusive of interest and penalties $ 90,000   $ 90,000   $ 58,000  
Unrecognized tax benefits $ 21,000   $ 21,000