Annual report pursuant to Section 13 and 15(d)

Income taxes (Details) - Components of income (loss) before income taxes

v3.19.3
Income taxes (Details) - Components of income (loss) before income taxes - USD ($)
$ in Thousands
12 Months Ended
Jul. 31, 2019
Jul. 31, 2018
Jul. 31, 2017
Income taxes (Details) - Components of income (loss) before income taxes [Line Items]      
Income (loss) before taxes $ 2,489 $ (11,418) $ (2,504)
Domestic Tax Authority [Member]      
Income taxes (Details) - Components of income (loss) before income taxes [Line Items]      
Income (loss) before taxes 4,618 (9,540) (212)
Foreign Tax Authority [Member]      
Income taxes (Details) - Components of income (loss) before income taxes [Line Items]      
Income (loss) before taxes $ (2,129) $ (1,878) $ (2,292)