Shareholders' Equity and Capital Stock (Tables)
   | 
12 Months Ended | 
Dec. 31, 2020  | 
| Shareholders' Equity and Capital Stock | 
 
 | 
| Schedule of Restricted Share Unit Activity | 
   | 
   | 
   | 
   | 
   | 
 Weighted average   | 
   | 
 
   | 
   | 
 Outstanding   | 
   | 
   | 
 grant date   | 
   | 
 
 Restricted Share Unit Activity   | 
   | 
 RSUs   | 
   | 
   | 
 fair value   | 
   | 
 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
 
December 31, 2017  | 
   | 
   | 
1,175,952 | 
   | 
   | 
$ | 
0.65 | 
   | 
 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
 
Granted   | 
   | 
   | 
470,756 | 
   | 
   | 
$ | 
0.71 | 
   | 
 
Released   | 
   | 
   | 
(621,092 | 
) | 
   | 
$ | 
0.63 | 
   | 
 
Forfeited   | 
   | 
   | 
(40,120 | 
) | 
   | 
$ | 
0.57 | 
   | 
 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
 
December 31, 2018  | 
   | 
   | 
985,496 | 
   | 
   | 
$ | 
0.67 | 
   | 
 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
 
Granted   | 
   | 
   | 
713,106 | 
   | 
   | 
$ | 
0.61 | 
   | 
 
Released   | 
   | 
   | 
(542,674 | 
) | 
   | 
$ | 
0.68 | 
   | 
 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
 
December 31, 2019  | 
   | 
   | 
1,155,928 | 
   | 
   | 
$ | 
0.65 | 
   | 
 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
 
Granted   | 
   | 
   | 
737,553 | 
   | 
   | 
$ | 
0.48 | 
   | 
 
Released   | 
   | 
   | 
(475,086 | 
) | 
   | 
$ | 
0.70 | 
   | 
 
Forfeited   | 
   | 
   | 
(13,433 | 
) | 
   | 
$ | 
0.61 | 
   | 
 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
 
December 31, 2020  | 
   | 
   | 
1,404,962 | 
   | 
   | 
$ | 
0.54 | 
   | 
 
 
 | 
| Schedule of Stock Option Fair Value Assumptions | 
Stock Option Fair Value Assumptions   | 
   | 
2020   | 
   | 
   | 
2019   | 
   | 
   | 
2018   | 
   | 
 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
 
Expected forfeiture rate   | 
   | 
   | 
6.1 | 
% | 
   | 
   | 
6.2 | 
% | 
   | 
5.8% - 6.0%  | 
   | 
 
Expected life (years)   | 
   | 
   | 
3.9 | 
   | 
   | 
   | 
3.7 | 
   | 
   | 
3.7 - 3.8   | 
   | 
 
Expected volatility   | 
   | 
   | 
63.2 | 
% | 
   | 
   | 
58.6 | 
% | 
   | 
54.6% - 55.0%   | 
   | 
 
Risk free rate   | 
   | 
   | 
0.4 | 
% | 
   | 
   | 
1.6 | 
% | 
   | 
1.9% - 2.1%  | 
   | 
 
Expected dividend rate   | 
   | 
   | 
0.0 | 
% | 
   | 
   | 
0.0 | 
% | 
   | 
   | 
0.0 | 
% | 
 
Black-Scholes value (CAD$)   | 
   | 
$ | 
0.30 | 
   | 
   | 
$ | 
0.35 | 
   | 
   | 
$0.33 - $0.39  | 
   | 
 
 
 | 
| Schedule Of Share-Based Compensation, Warrants, Activity | 
   | 
   | 
   | 
   | 
   | 
 Number of   | 
   | 
   | 
   | 
   | 
 
   | 
   | 
 Outstanding   | 
   | 
   | 
 shares to be issued   | 
   | 
   | 
 Per share   | 
   | 
 
 Warrant Activity   | 
   | 
 warrants   | 
   | 
   | 
 upon exercise   | 
   | 
   | 
 exercise price   | 
   | 
 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
 
December 31, 2017  | 
   | 
   | 
5,844,567 | 
   | 
   | 
   | 
5,844,567 | 
   | 
   | 
   | 
0.97 | 
   | 
 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
 
Issued   | 
   | 
   | 
13,062,878 | 
   | 
   | 
   | 
6,531,439 | 
   | 
   | 
   | 
1.00 | 
   | 
 
Expired   | 
   | 
   | 
(5,844,567 | 
) | 
   | 
   | 
(5,844,567 | 
) | 
   | 
   | 
0.97 | 
   | 
 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
 
December 31, 2018  | 
   | 
   | 
13,062,878 | 
   | 
   | 
   | 
6,531,439 | 
   | 
   | 
   | 
1.00 | 
   | 
 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
 
December 31, 2019  | 
   | 
   | 
13,062,878 | 
   | 
   | 
   | 
6,531,439 | 
   | 
   | 
   | 
1.00 | 
   | 
 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
 
Issued   | 
   | 
   | 
9,000,000 | 
   | 
   | 
   | 
4,500,000 | 
   | 
   | 
   | 
0.75 | 
   | 
 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
 
December 31, 2020  | 
   | 
   | 
22,062,878 | 
   | 
   | 
   | 
11,031,439 | 
   | 
   | 
   | 
0.90 | 
   | 
 
 
 | 
| Schedule Of Share-based Compensation Shares Authorized Under Warrants Plans by exercise price range | 
   | 
   | 
   | 
   | 
   | 
   | 
 Weighted-   | 
   | 
   | 
   | 
   | 
   | 
   | 
  | 
 
   | 
   | 
   | 
   | 
   | 
   | 
 average   | 
   | 
   | 
   | 
   | 
   | 
   | 
  | 
 
   | 
   | 
   | 
   | 
   | 
   | 
 remaining   | 
   | 
   | 
 Aggregate    | 
   | 
   | 
   | 
  | 
 
 Exercise   | 
   | 
   | 
 Number   | 
   | 
   | 
 contractual   | 
   | 
   | 
 Intrinsic   | 
   | 
   | 
   | 
  | 
 
 price   | 
   | 
   | 
 of warrants   | 
   | 
   | 
 life (years)   | 
   | 
   | 
 Value   | 
   | 
   | 
 Expiry   | 
  | 
 
$  | 
   | 
   | 
#   | 
   | 
   | 
   | 
   | 
   | 
$  | 
   | 
   | 
   | 
  | 
 
   | 
1.00  | 
   | 
   | 
   | 
13,062,878 | 
   | 
   | 
   | 
0.7 | 
   | 
   | 
   | 
- | 
   | 
   | 
2021-09-25  | 
  | 
 
   | 
0.75  | 
   | 
   | 
   | 
9,000,000 | 
   | 
   | 
   | 
1.6 | 
   | 
   | 
   | 
225,000 | 
   | 
   | 
2022-08-04  | 
  | 
 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
  | 
 
   | 
0.90  | 
   | 
   | 
   | 
22,062,878 | 
   | 
   | 
   | 
1.1 | 
   | 
   | 
   | 
225,000 | 
   | 
   | 
   | 
  | 
 
 
 | 
| Schedule Of Share-Based Compensation, Shares Authorized Under Restricted Stock Units, By Grant Date | 
Restricted Share Unit Fair Value Assumptions   | 
   | 
2020   | 
   | 
   | 
2019   | 
   | 
   | 
2018   | 
  | 
 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
  | 
 
Expected forfeiture rate   | 
   | 
   | 
4.2 | 
% | 
   | 
   | 
4.8 | 
% | 
   | 
5.5% - 5.9%  | 
  | 
 
Grant date fair value (CAD$)   | 
   | 
$ | 
0.63 | 
   | 
   | 
$ | 
0.79 | 
   | 
   | 
$0.91 - $0.93  | 
  | 
 
 
 | 
| Schedule of Share-based Compensation, Restricted Stock Units Award Activity | 
RSUs outstanding   | 
  | 
 
   | 
   | 
   | 
 Weighted-   | 
   | 
   | 
   | 
   | 
   | 
   | 
  | 
 
   | 
   | 
   | 
 average   | 
   | 
   | 
   | 
   | 
   | 
   | 
  | 
 
   | 
   | 
   | 
 remaining   | 
   | 
   | 
 Aggregate    | 
   | 
   | 
   | 
  | 
 
 Number   | 
   | 
   | 
 contractual   | 
   | 
   | 
 intrinsic   | 
   | 
   | 
 Redemption   | 
  | 
 
 of RSUs   | 
   | 
   | 
 life (years)   | 
   | 
   | 
 value   | 
   | 
   | 
 Date   | 
  | 
 
#  | 
   | 
   | 
   | 
   | 
   | 
$  | 
   | 
   | 
   | 
  | 
 
   | 
667,409  | 
   | 
   | 
   | 
0.8 | 
   | 
   | 
   | 
533,927 | 
   | 
   | 
2021-11-05  | 
  | 
 
   | 
737,553  | 
   | 
   | 
   | 
1.9 | 
   | 
   | 
   | 
590,042 | 
   | 
   | 
2022-11-13  | 
  | 
 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
  | 
 
   | 
1,404,962  | 
   | 
   | 
   | 
1.4 | 
   | 
   | 
   | 
1,123,969 | 
   | 
   | 
   | 
  | 
 
 
 | 
| Schedule of Share-based Compensation, Stock Options, Activity | 
   | 
   | 
 Outstanding   | 
   | 
   | 
 Weighted-average   | 
   | 
 
 Stock Option Activity   | 
   | 
 Options   | 
   | 
   | 
 exercise price   | 
   | 
 
   | 
   | 
#  | 
   | 
   | 
$  | 
   | 
 
December 31, 2017  | 
   | 
   | 
9,459,401 | 
   | 
   | 
$ | 
0.70 | 
   | 
 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
 
 Granted   | 
   | 
   | 
2,182,955 | 
   | 
   | 
   | 
0.70 | 
   | 
 
 Exercised   | 
   | 
   | 
(496,838 | 
) | 
   | 
   | 
0.58 | 
   | 
 
 Forfeited   | 
   | 
   | 
(275,085 | 
) | 
   | 
   | 
0.72 | 
   | 
 
 Expired   | 
   | 
   | 
(1,138,821 | 
) | 
   | 
   | 
0.83 | 
   | 
 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
 
December 31, 2018  | 
   | 
   | 
9,731,612 | 
   | 
   | 
$ | 
0.64 | 
   | 
 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
 
 Granted   | 
   | 
   | 
2,852,386 | 
   | 
   | 
   | 
0.61 | 
   | 
 
 Exercised   | 
   | 
   | 
(323,618 | 
) | 
   | 
   | 
0.63 | 
   | 
 
 Forfeited   | 
   | 
   | 
(395,851 | 
) | 
   | 
   | 
0.71 | 
   | 
 
 Expired   | 
   | 
   | 
(787,946 | 
) | 
   | 
   | 
0.83 | 
   | 
 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
 
December 31, 2019  | 
   | 
   | 
11,076,583 | 
   | 
   | 
$ | 
0.64 | 
   | 
 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
 
 Granted   | 
   | 
   | 
2,950,180 | 
   | 
   | 
   | 
0.48 | 
   | 
 
 Exercised   | 
   | 
   | 
(159,982 | 
) | 
   | 
   | 
0.63 | 
   | 
 
 Forfeited   | 
   | 
   | 
(534,425 | 
) | 
   | 
   | 
0.64 | 
   | 
 
 Expired   | 
   | 
   | 
(1,421,932 | 
) | 
   | 
   | 
0.66 | 
   | 
 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
 
December 31, 2020  | 
   | 
   | 
11,910,424 | 
   | 
   | 
$ | 
0.61 | 
   | 
 
 
 | 
| Schedule of Share-based Compensation, Shares Authorized under Stock Option Plans, by Exercise Price Range | 
   | 
   | 
   | 
Options outstanding   | 
   | 
   | 
Options exercisable   | 
   | 
   | 
 | 
 
   | 
   | 
   | 
 | 
   | 
   | 
Weighted-   | 
   | 
   | 
 | 
   | 
   | 
 | 
   | 
   | 
Weighted-   | 
   | 
   | 
 | 
   | 
   | 
 | 
 
   | 
   | 
   | 
 | 
   | 
   | 
average   | 
   | 
   | 
 | 
   | 
   | 
 | 
   | 
   | 
average   | 
   | 
   | 
 | 
   | 
   | 
 | 
 
   | 
   | 
   | 
 | 
   | 
   | 
remaining   | 
   | 
   | 
Aggregate   | 
   | 
   | 
 | 
   | 
   | 
remaining   | 
   | 
   | 
Aggregate   | 
   | 
   | 
 | 
 
Exercise   | 
   | 
   | 
Number   | 
   | 
   | 
contractual   | 
   | 
   | 
intrinsic   | 
   | 
   | 
Number   | 
   | 
   | 
contractual   | 
   | 
   | 
intrinsic   | 
   | 
   | 
 | 
 
price   | 
   | 
   | 
of options   | 
   | 
   | 
life (years)   | 
   | 
   | 
value   | 
   | 
   | 
of options   | 
   | 
   | 
life (years)   | 
   | 
   | 
value   | 
   | 
   | 
Expiry   | 
 
$  | 
   | 
   | 
 #  | 
   | 
   | 
   | 
   | 
   | 
 $  | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
 $  | 
   | 
   | 
   | 
 
   | 
0.57  | 
   | 
   | 
   | 
2,238,988 | 
   | 
   | 
   | 
1.0 | 
   | 
   | 
   | 
514,967 | 
   | 
   | 
   | 
2,238,988 | 
   | 
   | 
   | 
1.0 | 
   | 
   | 
   | 
514,967 | 
   | 
   | 
2021-12-16  | 
 
   | 
0.80  | 
   | 
   | 
   | 
300,000 | 
   | 
   | 
   | 
1.2 | 
   | 
   | 
   | 
- | 
   | 
   | 
   | 
300,000 | 
   | 
   | 
   | 
1.2 | 
   | 
   | 
   | 
- | 
   | 
   | 
2022-03-02  | 
 
   | 
0.57  | 
   | 
   | 
   | 
200,000 | 
   | 
   | 
   | 
1.7 | 
   | 
   | 
   | 
46,000 | 
   | 
   | 
   | 
200,000 | 
   | 
   | 
   | 
1.7 | 
   | 
   | 
   | 
46,000 | 
   | 
   | 
2022-09-07  | 
 
   | 
0.71  | 
   | 
   | 
   | 
1,668,089 | 
   | 
   | 
   | 
2.0 | 
   | 
   | 
   | 
150,128 | 
   | 
   | 
   | 
1,668,089 | 
   | 
   | 
   | 
2.0 | 
   | 
   | 
   | 
150,128 | 
   | 
   | 
2022-12-15  | 
 
   | 
0.60  | 
   | 
   | 
   | 
200,000 | 
   | 
   | 
   | 
2.2 | 
   | 
   | 
   | 
40,000 | 
   | 
   | 
   | 
133,333 | 
   | 
   | 
   | 
2.2 | 
   | 
   | 
   | 
26,667 | 
   | 
   | 
2023-03-30  | 
 
   | 
0.73  | 
   | 
   | 
   | 
929,269 | 
   | 
   | 
   | 
2.6 | 
   | 
   | 
   | 
65,049 | 
   | 
   | 
   | 
622,298 | 
   | 
   | 
   | 
2.6 | 
   | 
   | 
   | 
43,561 | 
   | 
   | 
2023-08-20  | 
 
   | 
0.71  | 
   | 
   | 
   | 
777,037 | 
   | 
   | 
   | 
3.0 | 
   | 
   | 
   | 
69,933 | 
   | 
   | 
   | 
515,660 | 
   | 
   | 
   | 
3.0 | 
   | 
   | 
   | 
46,409 | 
   | 
   | 
2023-12-14  | 
 
   | 
0.62  | 
   | 
   | 
   | 
2,646,861 | 
   | 
   | 
   | 
3.8 | 
   | 
   | 
   | 
476,435 | 
   | 
   | 
   | 
867,128 | 
   | 
   | 
   | 
3.8 | 
   | 
   | 
   | 
156,083 | 
   | 
   | 
2024-11-05  | 
 
   | 
0.49  | 
   | 
   | 
   | 
2,950,180 | 
   | 
   | 
   | 
4.9 | 
   | 
   | 
   | 
914,556 | 
   | 
   | 
   | 
- | 
   | 
   | 
   | 
- | 
   | 
   | 
   | 
- | 
   | 
   | 
2025-11-13  | 
 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
 
   | 
0.61  | 
   | 
   | 
   | 
11,910,424 | 
   | 
   | 
   | 
3.0 | 
   | 
   | 
   | 
2,277,068 | 
   | 
   | 
   | 
6,545,496 | 
   | 
   | 
   | 
2.0 | 
   | 
   | 
   | 
983,815 | 
   | 
   | 
   | 
 
 
 | 
| Schedule of Warrant Fair Value Assumptions | 
Warrant Fair Value Assumptions   | 
   | 
2020   | 
   | 
   | 
2019   | 
   | 
   | 
2018   | 
   | 
 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
   | 
 
Expected forfeiture rate   | 
   | 
   | 
0.0 | 
% | 
   | 
   | 
- | 
   | 
   | 
   | 
0.0 | 
% | 
 
Expected life (years)   | 
   | 
   | 
2.0 | 
   | 
   | 
   | 
- | 
   | 
   | 
   | 
3.0 | 
   | 
 
Expected volatility   | 
   | 
   | 
71.2 | 
% | 
   | 
   | 
- | 
   | 
   | 
   | 
55.2 | 
% | 
 
Risk free rate   | 
   | 
   | 
0.2 | 
% | 
   | 
   | 
- | 
   | 
   | 
   | 
2.2 | 
% | 
 
Expected dividend rate   | 
   | 
   | 
0.0 | 
% | 
   | 
   | 
- | 
   | 
   | 
   | 
0.0 | 
% | 
 
Black-Scholes value (CAD$)   | 
   | 
$ | 
0.26 | 
   | 
   | 
$ | 
0.00 | 
   | 
   | 
$ | 
0.34 | 
   | 
 
 
 |