Shareholders' Equity and Capital Stock (Tables)
   | 
6 Months Ended | 
Jun. 30, 2019  | 
| Shareholders' Equity and Capital Stock [Abstract] | 
 
 | 
| Schedule of Share-based Compensation, Stock Options, Activity | 
 
		
			
				| 
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
			 
			
				| 
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						Weighted- 
				 | 
			 
			
				| 
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						average 
				 | 
			 
			
				| 
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						Options 
				 | 
				
					 
						  
				 | 
				
					 
						exercise price 
				 | 
			 
			
				| 
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						# 
				 | 
				
					 
						  
				 | 
				
					 
						$ 
				 | 
			 
			
				| 
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
			 
			
				| 
					 
						Balance, December 31, 2018 
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						 9,731,612 
				 | 
				
					 
						  
				 | 
				
					 
						 0.64 
				 | 
			 
			
				| 
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
			 
			
				| 
					 
						Exercised 
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						 (206,160) 
				 | 
				
					 
						  
				 | 
				
					 
						 0.65 
				 | 
			 
			
				| 
					 
						Expired 
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						 (100,000) 
				 | 
				
					 
						  
				 | 
				
					 
						 1.26 
				 | 
			 
			
				| 
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
			 
			
				| 
					 
						Outstanding, June 30, 2019 
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						 9,425,452 
				 | 
				
					 
						  
				 | 
				
					 
						 0.66 
				 | 
			 
		  
		
			 
		 
   
 | 
| 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.75 
				 | 
				
					 
						  
				 | 
				
724,274
				 | 
				
					 
						  
				 | 
				
					 
						0.5  
				 | 
				
					 
						  
				 | 
				
					 
						 100 
				 | 
				
					 
						  
				 | 
				
724,274
				 | 
				
					 
						  
				 | 
				
					 
						0.5  
				 | 
				
					 
						  
				 | 
				
					 
						 100 
				 | 
				
					 
						  
				 | 
				
					 
						12-Dec-19 
				 | 
			 
			
				| 
					 
						0.84 
				 | 
				
					 
						  
				 | 
				
200,000
				 | 
				
					 
						  
				 | 
				
					 
						0.9  
				 | 
				
					 
						  
				 | 
				
					 
						 12 
				 | 
				
					 
						  
				 | 
				
200,000
				 | 
				
					 
						  
				 | 
				
					 
						0.9  
				 | 
				
					 
						  
				 | 
				
					 
						 12 
				 | 
				
					 
						  
				 | 
				
					 
						29-May-20 
				 | 
			 
			
				| 
					 
						0.63 
				 | 
				
					 
						  
				 | 
				
538,912
				 | 
				
					 
						  
				 | 
				
					 
						1.1  
				 | 
				
					 
						  
				 | 
				
					 
						 130 
				 | 
				
					 
						  
				 | 
				
538,912
				 | 
				
					 
						  
				 | 
				
					 
						1.1  
				 | 
				
					 
						  
				 | 
				
					 
						 130 
				 | 
				
					 
						  
				 | 
				
					 
						17-Aug-20 
				 | 
			 
			
				| 
					 
						0.59 
				 | 
				
					 
						  
				 | 
				
928,408
				 | 
				
					 
						  
				 | 
				
					 
						1.5  
				 | 
				
					 
						  
				 | 
				
					 
						 255 
				 | 
				
					 
						  
				 | 
				
928,408
				 | 
				
					 
						  
				 | 
				
					 
						1.5  
				 | 
				
					 
						  
				 | 
				
					 
						 255 
				 | 
				
					 
						  
				 | 
				
					 
						11-Dec-20 
				 | 
			 
			
				| 
					 
						0.54 
				 | 
				
					 
						  
				 | 
				
2,411,930
				 | 
				
					 
						  
				 | 
				
					 
						2.5  
				 | 
				
					 
						  
				 | 
				
					 
						 767 
				 | 
				
					 
						  
				 | 
				
2,411,930
				 | 
				
					 
						  
				 | 
				
					 
						2.5  
				 | 
				
					 
						  
				 | 
				
					 
						 767 
				 | 
				
					 
						  
				 | 
				
					 
						16-Dec-21 
				 | 
			 
			
				| 
					 
						0.75 
				 | 
				
					 
						  
				 | 
				
300,000
				 | 
				
					 
						  
				 | 
				
					 
						2.7  
				 | 
				
					 
						  
				 | 
				
					 
						 41 
				 | 
				
					 
						  
				 | 
				
300,000
				 | 
				
					 
						  
				 | 
				
					 
						2.7  
				 | 
				
					 
						  
				 | 
				
					 
						 41 
				 | 
				
					 
						  
				 | 
				
					 
						02-Mar-22 
				 | 
			 
			
				| 
					 
						0.54 
				 | 
				
					 
						  
				 | 
				
200,000
				 | 
				
					 
						  
				 | 
				
					 
						3.2  
				 | 
				
					 
						  
				 | 
				
					 
						 64 
				 | 
				
					 
						  
				 | 
				
66,000
				 | 
				
					 
						  
				 | 
				
					 
						3.2  
				 | 
				
					 
						  
				 | 
				
					 
						 21 
				 | 
				
					 
						  
				 | 
				
					 
						07-Sep-22 
				 | 
			 
			
				| 
					 
						0.66 
				 | 
				
					 
						  
				 | 
				
1,944,916
				 | 
				
					 
						  
				 | 
				
					 
						3.5  
				 | 
				
					 
						  
				 | 
				
					 
						 418 
				 | 
				
					 
						  
				 | 
				
654,608
				 | 
				
					 
						  
				 | 
				
					 
						3.5  
				 | 
				
					 
						  
				 | 
				
					 
						 141 
				 | 
				
					 
						  
				 | 
				
					 
						15-Dec-22 
				 | 
			 
			
				| 
					 
						0.56 
				 | 
				
					 
						  
				 | 
				
200,000
				 | 
				
					 
						  
				 | 
				
					 
						3.7  
				 | 
				
					 
						  
				 | 
				
					 
						 60 
				 | 
				
					 
						  
				 | 
				
66,000
				 | 
				
					 
						  
				 | 
				
					 
						3.7  
				 | 
				
					 
						  
				 | 
				
					 
						 20 
				 | 
				
					 
						  
				 | 
				
					 
						30-Mar-23 
				 | 
			 
			
				| 
					 
						0.68 
				 | 
				
					 
						  
				 | 
				
1,057,654
				 | 
				
					 
						  
				 | 
				
					 
						4.1  
				 | 
				
					 
						  
				 | 
				
					 
						 209 
				 | 
				
					 
						  
				 | 
				
8,852
				 | 
				
					 
						  
				 | 
				
					 
						4.1  
				 | 
				
					 
						  
				 | 
				
					 
						  2 
				 | 
				
					 
						  
				 | 
				
					 
						20-Aug-23 
				 | 
			 
			
				| 
					 
						0.67 
				 | 
				
					 
						  
				 | 
				
919,358
				 | 
				
					 
						  
				 | 
				
					 
						4.5  
				 | 
				
					 
						  
				 | 
				
					 
						 190 
				 | 
				
					 
						  
				 | 
				
8,277
				 | 
				
					 
						  
				 | 
				
					 
						4.5  
				 | 
				
					 
						  
				 | 
				
					 
						  2 
				 | 
				
					 
						  
				 | 
				
					 
						14-Dec-23 
				 | 
			 
			
				| 
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
			 
			
				| 
					 
						0.66 
				 | 
				
					 
						  
				 | 
				
9,425,452
				 | 
				
					 
						  
				 | 
				
					 
						2.7  
				 | 
				
					 
						  
				 | 
				
					 
						 2,246 
				 | 
				
					 
						  
				 | 
				
5,907,261
				 | 
				
					 
						  
				 | 
				
					 
						2.0  
				 | 
				
					 
						  
				 | 
				
					 
						 1,491 
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
			 
		  
		
			 
		 
   
 | 
| Schedule of Share-based Compensation, Restricted Stock Units Award Activity | 
 
		
			
				| 
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
			 
			
				| 
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						Number  
				 | 
				
					 
						  
				 | 
				
					 
						Weighted 
				 | 
			 
			
				| 
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						of 
				 | 
				
					 
						  
				 | 
				
					 
						average grant 
				 | 
			 
			
				| 
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						RSUs 
				 | 
				
					 
						  
				 | 
				
					 
						date fair value 
				 | 
			 
			
				| 
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
			 
			
				| 
					 
						Unvested, December 31, 2018 
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						 955,496 
				 | 
				
					 
						  
				 | 
				
					 
						 0.67 
				 | 
			 
			
				| 
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
			 
			
				| 
					 
						Vested 
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						 (9,053) 
				 | 
				
					 
						  
				 | 
				
					 
						 0.68 
				 | 
			 
			
				| 
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
			 
			
				| 
					 
						Unvested, June 30, 2019 
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						 946,443 
				 | 
				
					 
						  
				 | 
				
					 
						 0.70 
				 | 
			 
		  
		
			 
		 
   
 | 
| Schedule Of Share-Based Compensation, Shares Authorized Under Restricted Stock Units, By Grant Date | 
 
		
			
				| 
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
			 
			
				| 
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						Number of 
				 | 
				
					 
						  
				 | 
				
					 
						Remaining 
				 | 
				
					 
						  
				 | 
				
					 
						Aggregate  
				 | 
			 
			
				| 
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						unvested 
				 | 
				
					 
						  
				 | 
				
					 
						life 
				 | 
				
					 
						  
				 | 
				
					 
						intrinsic 
				 | 
			 
			
				| 
					 
						Grant date 
				 | 
				
					 
						  
				 | 
				
					 
						RSUs 
				 | 
				
					 
						  
				 | 
				
					 
						(years) 
				 | 
				
					 
						  
				 | 
				
					 
						value 
				 | 
			 
			
				| 
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						$ 
				 | 
			 
			
				| 
					 
						December 15, 2017 
				 | 
				
					 
						  
				 | 
				
					 
						 481,456 
				 | 
				
					 
						  
				 | 
				
					 
						0.46  
				 | 
				
					 
						  
				 | 
				
					 
						 438 
				 | 
			 
			
				| 
					 
						August 20, 2018 
				 | 
				
					 
						  
				 | 
				
					 
						 237,210 
				 | 
				
					 
						  
				 | 
				
					 
						1.15  
				 | 
				
					 
						  
				 | 
				
					 
						 216 
				 | 
			 
			
				| 
					 
						December 14, 2018 
				 | 
				
					 
						  
				 | 
				
					 
						 227,777 
				 | 
				
					 
						  
				 | 
				
					 
						1.46  
				 | 
				
					 
						  
				 | 
				
					 
						 207 
				 | 
			 
			
				| 
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
			 
			
				| 
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						 946,443 
				 | 
				
					 
						  
				 | 
				
					 
						0.86  
				 | 
				
					 
						  
				 | 
				
					 
						 861 
				 | 
			 
		  
		
			 
		 
   
 | 
| Schedule Of Share-Based Compensation, Warrants, Activity | 
 
		
			
				| 
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
			 
			
				| 
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						Number 
				 | 
				
					 
						Number of 
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
			 
			
				| 
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						of 
				 | 
				
					 
						shares to be issued 
				 | 
				
					 
						  
				 | 
				
					 
						Per share 
				 | 
			 
			
				| 
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						warrants 
				 | 
				
					 
						upon exercise 
				 | 
				
					 
						  
				 | 
				
					 
						exercise price 
				 | 
			 
			
				| 
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						$ 
				 | 
			 
			
				| 
					 
						Outstanding, December 31, 2018 
				 | 
				
					 
						  
				 | 
				
					 
						 13,062,878 
				 | 
				
					 
						 6,531,439 
				 | 
				
					 
						  
				 | 
				
					 
						 1.00 
				 | 
			 
			
				| 
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
			 
			
				| 
					 
						Outstanding, June 30, 2019 
				 | 
				
					 
						  
				 | 
				
					 
						 13,062,878 
				 | 
				
					 
						 6,531,439 
				 | 
				
					 
						  
				 | 
				
					 
						 1.00 
				 | 
			 
		  
		
			 
		 
   
 | 
| Schedule Of Share-based Compensation Shares Authorized Under Warrants Plans by exercise price range | 
 
		
			
				| 
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
			 
			
				| 
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						Remaining 
				 | 
				
					 
						  
				 | 
				
					 
						Aggregate  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
			 
			
				| 
					 
						Exercise 
				 | 
				
					 
						  
				 | 
				
					 
						Number 
				 | 
				
					 
						  
				 | 
				
					 
						contractual 
				 | 
				
					 
						  
				 | 
				
					 
						Intrinsic 
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
			 
			
				| 
					 
						price 
				 | 
				
					 
						  
				 | 
				
					 
						of warrants 
				 | 
				
					 
						  
				 | 
				
					 
						life (years) 
				 | 
				
					 
						  
				 | 
				
					 
						Value 
				 | 
				
					 
						  
				 | 
				
					 
						Expiry 
				 | 
			 
			
				| 
					 
						$ 
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
				
					 
						$ 
				 | 
				
					 
						  
				 | 
				
					 
						  
				 | 
			 
			
				| 
					 
						1.00 
				 | 
				
					 
						  
				 | 
				
13,062,878
				 | 
				
					 
						  
				 | 
				
					 
						2.2 
				 | 
				
					 
						  
				 | 
				
					 
						  - 
				 | 
				
					 
						  
				 | 
				
					 
						25-Sep-21 
				 | 
			 
		  
		
			 
		 
   
 | 
| Schedule of Share-based Payment Award, Stock Options, Valuation Assumptions | 
 
		
			
				| 
					 
						  
					
						  
					
						  
				 | 
				
					 
						  
				 | 
			 
			
				| 
					 
						  
				 | 
				
					 
						Six months ended June 30,  
				 | 
			 
			
				| 
					 
						  
				 | 
				
					 
						2018 
				 | 
			 
			
				| 
					 
						Expected option life (years) 
				 | 
				
					 
						 3.74 
				 | 
			 
			
				| 
					 
						Expected volatility 
				 | 
				
					 
						54.59% 
				 | 
			 
			
				| 
					 
						Risk-free interest rate 
				 | 
				
					 
						1.90% 
				 | 
			 
			
				| 
					 
						Expected dividend rate 
				 | 
				
					 
						0% 
				 | 
			 
			
				| 
					 
						Forfeiture rate 
				 | 
				
					 
						6.0% 
				 | 
			 
		  
		
			 
		 
   
 |