XML 44 R12.htm IDEA: XBRL DOCUMENT
v3.22.1

Accounts receivable, net | 12 Months Ended
--- | ---
Dec. 31, 2021
Accounts receivable, net |
Accounts receivable, net | 6. Accounts receivable, net ​
​ | ​ | ​ | ​ | ​
(In thousands) |  | December 31, 2020 |  | December 31, 2021
Accounts receivable |  | 32,312 |  | 27,899
Less: Allowance for credit losses |  | (9,329) |  | (1,764)
Accounts receivable, net |  | 22,983 |  | 26,135
​ 6. Accounts receivable, net (Continued) The following table presents movement in the allowance for expected credit loss:
​ | ​ | ​ | ​ | ​ | ​ | ​
(In thousands) |  | December 31, 2019 |  | December 31, 2020 |  | December 31, 2021
Balance at beginning of the year |  | 7,709 |  | 7,604 |  | 9,329
Additions |  | 19 |  | 1,137 |  | 72
Reversals | ​ | — | ​ | — | ​ | (481)
Write-off | ​ | — | ​ | — | ​ | (7,375)
Exchange difference |  | (124) |  | 588 |  | 219
Balance at end of the year |  | 7,604 |  | 9,329 |  | 1,764
​ The top 10 customers accounted for about 65% and 86% of accounts receivable as of December 31, 2020 and 2021, respectively.

X
- Definition The entire disclosure for claims held for amounts due a entity, excluding financing receivables. Examples include, but are not limited to, trade accounts receivables, notes receivables, loans receivables. Includes disclosure for allowance for credit losses. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -URI http://asc.fasb.org/subtopic&trid=2196772 + Details
Name: | us-gaap_LoansNotesTradeAndOtherReceivablesDisclosureTextBlock
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