XML 64 R36.htm IDEA: XBRL DOCUMENT
v3.22.2.2

Concentration of Risk (Tables) | 12 Months Ended
--- | ---
Jun. 30, 2022
Concentration of Risk |
Summary of customer concentrations | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ |  | A |  | B |  | C |  | D |  | E |  | F |  | G |  | H |  | I |  | J |  | K | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Year Ended June 30, 2022 |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  | ​ | ​ | ​ | ​ | ​
Revenues, customer concentration risk |  | * | ​ | * | ​ | * | ​ | * |  | 13 | % | * |  | * |  | — |  | 14 | % | 10 | % | * | ​
​ |  | ​ |  | ​ |  | ​ |  | ​ |  | ​ |  | ​ |  | ​ |  | ​ |  | ​ | ​ | ​ | ​ | ​ | ​
Year Ended June 30, 2021 |  | ​ |  | ​ |  | ​ |  | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Revenues, customer concentration risk |  | 18 | % | 11 | % | * |  | * |  | * |  | * |  | * |  | * |  | * | ​ | — | ​ | — | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Year Ended June 30, 2020 | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Revenues, customer concentration risk |  | * |  | — |  | — |  | — |  | * | ​ | 26 | % | 15 | % | 10 | % | * | ​ | * | ​ | — | ​
​ |  | ​ |  | ​ |  | ​ |  | ​ |  | ​ |  | ​ |  | ​ |  | ​ |  | ​ | ​ | ​ | ​ | ​ | ​
As of June 30, 2022 (1) |  | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ |  | ​ |  | ​ |  | ​ | ​ | ​ | ​ | ​ | ​
Accounts receivable (from third parties and related parties), customer concentration risk |  | * |  | * |  | * |  | * |  | * |  | * |  | * |  | — |  | 13 | % | 36 | % | 12 | %
​ |  | ​ |  | ​ |  | ​ |  | ​ | ​ | ​ |  | ​ | ​ | ​ | ​ | ​ |  | ​ | ​ | ​ | ​ | ​ | ​
As of June 30, 2021 (1) |  | ​ |  | ​ |  | ​ |  | ​ |  | ​ |  | ​ |  | ​ |  | ​ |  | ​ | ​ | ​ | ​ | ​ | ​
Accounts receivable (from third parties and related parties), customer concentration risk |  | * |  | * |  | 18 | % | 16 | % | 14 | % | * | ​ | — |  | * | ​ | * | ​ | — | ​ | — | ​
| (1) | The denominator for the calculation of accounts receivable, customer concentration risk was the total amount of accounts receivable from third parties and accounts receivable from related parties (as disclosed in Note 15 below) as of June 30, 2021 and 2022, respectively.
| * | Less than 10%.

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

X
- Definition Tabular disclosure of the nature of a concentration, a benchmark to which it is compared, and the percentage that the risk is to the benchmark. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 21 -URI http://asc.fasb.org/extlink&oid=123594938&loc=d3e13537-108611 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 20 -URI http://asc.fasb.org/extlink&oid=123594938&loc=d3e13531-108611 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 275 -SubTopic 10 -Section 50 -Paragraph 20 -URI http://asc.fasb.org/extlink&oid=99393423&loc=d3e6404-108592 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 275 -SubTopic 10 -Section 50 -Paragraph 16 -URI http://asc.fasb.org/extlink&oid=99393423&loc=d3e6327-108592 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 275 -SubTopic 10 -Section 50 -Paragraph 18 -URI http://asc.fasb.org/extlink&oid=99393423&loc=d3e6351-108592 Reference 6: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 275 -SubTopic 10 -Section 50 -Paragraph 21 -URI http://asc.fasb.org/extlink&oid=99393423&loc=d3e6442-108592 + Details
Name: | us-gaap_SchedulesOfConcentrationOfRiskByRiskFactorTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration