Balance Sheet Components - Schedule of Accrued Liabilities (Details) - USD ($) $ in Thousands |
Mar. 31, 2026 |
Jun. 30, 2025 |
|---|---|---|
| Short-term Debt [Line Items] | ||
| Customer deposits | $ 203,570 | $ 260,131 |
| Customer-related liabilities | 139,084 | 32,858 |
| Accrued payroll and related expenses | 122,983 | 82,156 |
| Import tax and tariff liabilities | 56,323 | 20,883 |
| Accrued cooperative marketing expenses | 51,939 | 26,775 |
| Input tax payable | 45,493 | 39,161 |
| Accrued withholding tax | 38,653 | 6 |
| Operating lease liability | 32,703 | 21,189 |
| Accrued warranty costs | 15,363 | 9,753 |
| Accrued professional fees | 11,694 | 8,098 |
| Other | 68,240 | 36,780 |
| Total accrued liabilities | 830,007 | 565,637 |
| Lines of Credit and Term Loans | ||
| Short-term Debt [Line Items] | ||
| Accrued interest | 35,606 | 146 |
| Convertible Notes Payable | ||
| Short-term Debt [Line Items] | ||
| Accrued interest | $ 8,356 | $ 27,701 |
| X | ||||||||||
- Definition Accrued Customer Deposits, Current No definition available.
|
| X | ||||||||||
- Definition Accrued Withholding Tax, Current No definition available.
|
| X | ||||||||||
- Definition Import Tax And Tariff Liabilities, Current No definition available.
|
| X | ||||||||||
- Definition Carrying value as of the balance sheet date of obligations incurred and payable, pertaining to costs that are statutory in nature, are incurred on contractual obligations, or accumulate over time and for which invoices have not yet been received or will not be rendered. Examples include taxes, interest, rent and utilities. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer). Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Carrying value as of the balance sheet date of obligations incurred through that date and payable for the marketing, trade and selling of the entity's goods and services. Marketing costs would include expenditures for planning and executing the conception, pricing, promotion, and distribution of ideas, goods, and services; costs of public relations and corporate promotions; and obligations incurred and payable for sales discounts, rebates, price protection programs, etc. offered to customers and under government programs. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer). No definition available.
|
| X | ||||||||||
- Definition Carrying value as of the balance sheet date of obligations incurred through that date and payable for professional fees, such as for legal and accounting services received. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer). Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Current regulatory liabilities generally represent obligations to make refunds to customers for various reasons including overpayment. No definition available.
|
| X | ||||||||||
- Definition Total of the carrying values as of the balance sheet date of obligations incurred through that date and payable for obligations related to services received from employees, such as accrued salaries and bonuses, payroll taxes and fringe benefits. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer). Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Carrying value as of the balance sheet date of [accrued] interest payable on all forms of debt, including trade payables, that has been incurred and is unpaid. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer). Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Present value of lessee's discounted obligation for lease payments from operating lease, classified as current. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of expenses incurred but not yet paid classified as other, due within one year or the normal operating cycle, if longer. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Carrying value as of the balance sheet date of obligations incurred through that date and payable for estimated claims under standard and extended warranty protection rights granted to customers. For classified balance sheets, represents the current portion of the liabilities (due within one year or within the normal operating cycle if longer). Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. No definition available.
|
| X | ||||||||||
- Definition Carrying value as of the balance sheet date of obligations incurred and payable for statutory income, sales, use, payroll, excise, real, property and other taxes. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer). Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|