Annual report pursuant to Section 13 and 15(d)

Summary of significant accounting policies (Details) - Schedule of adoption of the standard on prior period consolidated operations, cash flows and balance sheet

v3.20.2
Summary of significant accounting policies (Details) - Schedule of adoption of the standard on prior period consolidated operations, cash flows and balance sheet - USD ($)
$ in Thousands
3 Months Ended 12 Months Ended
Jul. 31, 2020
Apr. 30, 2020
Jan. 31, 2020
Oct. 31, 2019
Jul. 31, 2019
Apr. 30, 2019
Jan. 31, 2019
Oct. 31, 2018
Jul. 31, 2020
Jul. 31, 2019
Jul. 31, 2018
New Accounting Pronouncements or Change in Accounting Principle [Line Items]                      
Total Revenues                 $ 76,021 $ 81,170 $ 101,013
Provision for uncollectible accounts receivable                    
Changes in operating assets and liabilities: Accounts receivable                 1,617 2,404 1,915
Accounts receivable                     13,292
Less: Allowance for doubtful accounts                     145
Accounts receivable, net of allowance for doubtful accounts $ 9,141       $ 10,738       9,141 10,738 13,147
Selling, general and administrative expenses                 42,960 44,265 44,455
Net loss $ (3,325) $ (9,860) $ (7,687) $ (7,648) $ (5,390) $ 22,265 $ (8,408) $ (5,978) $ (28,520) $ 2,489 (10,321)
Previously Reported [Member]                      
New Accounting Pronouncements or Change in Accounting Principle [Line Items]                      
Total Revenues                     104,713
Provision for uncollectible accounts receivable                     3,690
Changes in operating assets and liabilities: Accounts receivable                     (1,775)
Accounts receivable                     15,815
Less: Allowance for doubtful accounts                     2,668
Accounts receivable, net of allowance for doubtful accounts                     13,147
Selling, general and administrative expenses                     44,465
Net loss                     (10,321)
Restatement Adjustment [Member] | Accounting Standards Update 2014-09 [Member]                      
New Accounting Pronouncements or Change in Accounting Principle [Line Items]                      
Total Revenues                     3,700
Provision for uncollectible accounts receivable                     (3,700)
Changes in operating assets and liabilities: Accounts receivable                     3,700
Accounts receivable                     (2,523)
Less: Allowance for doubtful accounts                     (2,523)
Accounts receivable, net of allowance for doubtful accounts                    
Selling, general and administrative expenses                    
Net loss                    
Reclassification of Residual [Member] | Accounting Standards Update 2014-09 [Member]                      
New Accounting Pronouncements or Change in Accounting Principle [Line Items]                      
Total Revenues                    
Provision for uncollectible accounts receivable                     10
Changes in operating assets and liabilities: Accounts receivable                     (10)
Accounts receivable                    
Less: Allowance for doubtful accounts                    
Accounts receivable, net of allowance for doubtful accounts                    
Selling, general and administrative expenses                     (10)
Net loss