Quarterly report pursuant to Section 13 or 15(d)

Shareholders' Equity and Capital Stock - addl information (Details)

v3.7.0.1
Shareholders' Equity and Capital Stock - addl information (Details)
$ / shares in Units, $ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2017
USD ($)
Mar. 31, 2017
shares
Jun. 30, 2016
USD ($)
Mar. 31, 2016
shares
Jun. 30, 2017
USD ($)
shares
Jun. 30, 2016
USD ($)
Jun. 30, 2017
CAD / shares
Jun. 30, 2017
USD ($)
$ / shares
shares
Dec. 31, 2016
$ / shares
shares
Stockholder's Equity Note [Line Items]                  
Share-Based Compensation Arrangement By Share-Based Payment Award, Options, Outstanding, Intrinsic Value | $               $ 227  
Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercises in Period         549,952        
Stock Issued During Period, Shares, New Issues         1,536,169        
Share Price | (per share)             CAD 0.82 $ 0.76  
Payments Of Stock Issuance Costs | $         $ 43 $ 767      
Stock Issued During Period, Value, New Issues | $         $ 1,126        
Percent or RSUs that vest         175,996        
Share-Based Compensation Arrangement By Share-Based Payment Award, Options, Outstanding, Number               8,148,144 9,748,934
Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercisable, Number               5,942,243  
Stock based compensation | $ $ 400   $ 200   $ 506 440      
Share-based Compensation Arrangement by Share-based Payment Award, Options, Vested in Period, Fair Value | $         200        
Proceeds from Stock Options Exercised | $         $ 348 $ 9      
Granted, Options         300,000        
Class of Warrant or Right, Exercise Price of Warrants or Rights | $ / shares               $ 0.93 $ 0.93
Capital Stock                  
Stockholder's Equity Note [Line Items]                  
Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercises in Period         549,952        
Stock Issued During Period, Shares, New Issues         1,536,169        
Stock Issued During Period, Value, New Issues | $         $ 1,126        
In Money Stock Option [Member]                  
Stockholder's Equity Note [Line Items]                  
Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercisable, Number               3,353,402  
Employee Service Share-based Compensation, Nonvested Awards, Total Compensation Cost Not yet Recognized, Stock Options | $               $ 600  
Employee Service Share-based Compensation, Nonvested Awards, Total Compensation Cost Not yet Recognized, Period for Recognition         1 year 2 months 12 days        
Restricted Stock Units (RSUs) [Member]                  
Stockholder's Equity Note [Line Items]                  
Employee Service Share-based Compensation, Nonvested Awards, Total Compensation Cost Not yet Recognized, Share-based Awards Other than Options | $               $ 400  
Employee Service Share-based Compensation, Nonvested Awards, Total Compensation Cost Not yet Recognized, Period for Recognition         1 year 6 months        
Granted, Options   0   0          
Restricted Stock Units (RSUs) [Member] | Capital Stock                  
Stockholder's Equity Note [Line Items]                  
Number of securities called by each unit               1  
Employee Stock Option [Member]                  
Stockholder's Equity Note [Line Items]                  
Granted, Options   0   0          
Grant Date [Member] | Employee Stock Option [Member]                  
Stockholder's Equity Note [Line Items]                  
Share-Based Compensation Arrangement By Share-Based Payment Award, Award Vesting Percentage         10.00%        
Four and One Half Months After Grant [Member] | Restricted Stock Units (RSUs) [Member]                  
Stockholder's Equity Note [Line Items]                  
Stock Option Vesting Period         4 months 15 days        
Four and One Half Months After Grant [Member] | Employee Stock Option [Member]                  
Stockholder's Equity Note [Line Items]                  
Share-Based Compensation Arrangement By Share-Based Payment Award, Award Vesting Percentage         22.00%        
Nine Months After Grant [Member] | Restricted Stock Units (RSUs) [Member]                  
Stockholder's Equity Note [Line Items]                  
Stock Option Vesting Period         9 months        
Nine Months After Grant [Member] | Employee Stock Option [Member]                  
Stockholder's Equity Note [Line Items]                  
Share-Based Compensation Arrangement By Share-Based Payment Award, Award Vesting Percentage         22.00%        
Thirteen and One Half Months After Grant [Member] | Restricted Stock Units (RSUs) [Member]                  
Stockholder's Equity Note [Line Items]                  
Stock Option Vesting Period         13 months 15 days        
Thirteen and One Half Months After Grant [Member] | Employee Stock Option [Member]                  
Stockholder's Equity Note [Line Items]                  
Share-Based Compensation Arrangement By Share-Based Payment Award, Award Vesting Percentage         22.00%        
Eighteen Months After Date Of Grant [Member] | Employee Stock Option [Member]                  
Stockholder's Equity Note [Line Items]                  
Share-Based Compensation Arrangement By Share-Based Payment Award, Award Vesting Percentage         24.00%        
First Anniversary [Member]                  
Stockholder's Equity Note [Line Items]                  
Share-Based Compensation Arrangement By Share-Based Payment Award, Award Vesting Percentage         33.30%        
First Anniversary [Member] | Employee Stock Option [Member]                  
Stockholder's Equity Note [Line Items]                  
Stock Option Vesting Period         3 years        
Second Anniversary [Member]                  
Stockholder's Equity Note [Line Items]                  
Share-Based Compensation Arrangement By Share-Based Payment Award, Award Vesting Percentage         33.30%        
Third Anniversary (Member)                  
Stockholder's Equity Note [Line Items]                  
Share-Based Compensation Arrangement By Share-Based Payment Award, Award Vesting Percentage         33.40%