Annual report pursuant to Section 13 and 15(d)

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

v3.3.0.814
Income taxes (Details) - Components of loss before income taxes - USD ($)
$ in Thousands
3 Months Ended 12 Months Ended
Jul. 31, 2015
Apr. 30, 2015
Jan. 31, 2015
Oct. 31, 2014
Jul. 31, 2014
Apr. 30, 2014
Jan. 31, 2014
Oct. 31, 2013
Jul. 31, 2015
Jul. 31, 2014
Jul. 31, 2013
Income taxes (Details) - Components of loss before income taxes [Line Items]                      
Loss before taxes $ 8,523 $ (3,003) $ (4,206) $ (3,606) $ (3,162) $ (448) $ (3,570) $ (2,725) $ (2,292) $ (9,905) $ (18,949)
Domestic Tax Authority [Member]                      
Income taxes (Details) - Components of loss before income taxes [Line Items]                      
Loss before taxes                 (615) (8,702) (15,419)
Foreign Tax Authority [Member]                      
Income taxes (Details) - Components of loss before income taxes [Line Items]                      
Loss before taxes                 $ (1,677) $ (1,203) $ (3,530)