XML 84 R45.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Trade receivables (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2021
Trade receivables |
Schedule of Trade and Other Receivables | ​
​ | ​ | ​ | ​ | ​ | ​ | ​
As at December 31, |  | 2021 |  | 2020
Trade receivables | ​ | $ | 123,246 | ​ | $ | 111,545
Consumption taxes receivable | ​ |  | 20,359 | ​ |  | 20,789
Loans receivable | ​ | ​ | 7,267 | ​ | ​ | 927
Other receivables | ​ |  | 23 | ​ |  | 1,740
​ | ​ | $ | 150,895 | ​ | $ | 135,001
Schedule of activity in the allowance for expected credit losses | ​
​ | ​ | ​ | ​
Balance, December 31, 2020 |  | $ | (5,467)
Current period provision |  | ​ | (1,564)
Write-offs charged against the allowance |  | ​ | 2,635
Balance, December 31, 2021 | ​ | $ | (4,396)

X
- Definition Tabular disclosure of allowance for credit loss on accounts receivable. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 13 -URI http://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447 + Details
Name: | us-gaap_AccountsReceivableAllowanceForCreditLossTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_ReceivablesAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of the various types of trade accounts and notes receivable and for each the gross carrying value, allowance, and net carrying value as of the balance sheet date. Presentation is categorized by current, noncurrent and unclassified receivables. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.3,4) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration