Related Party Transactions (Details) - USD ($) |
3 Months Ended | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Aug. 31, 2026 |
Aug. 31, 2025 |
May 31, 2026 |
May 29, 2026 |
Feb. 26, 2026 |
|||||||
| Related Party Transaction [Line Items] | |||||||||||
| Prepaid expenses and other current assets | [1] | $ 685,638,000 | $ 613,692,000 | ||||||||
| Interest income | [2] | 35,821,000 | $ 857,000 | ||||||||
| Selling, general and administrative | [3] | 114,683,000 | 29,482,000 | ||||||||
| Base Electron, Inc. | |||||||||||
| Related Party Transaction [Line Items] | |||||||||||
| Outstanding ownership percentage | 10.00% | ||||||||||
| Equity investments | 2,000,000.0 | ||||||||||
| Related Party | |||||||||||
| Related Party Transaction [Line Items] | |||||||||||
| Aggregate principal amount | $ 100,000,000.0 | ||||||||||
| Prepaid expenses and other current assets | 58,500,000 | ||||||||||
| Interest income | 700,000 | ||||||||||
| Credit loss expense | 0 | ||||||||||
| Selling, general and administrative | 49,700 | $ 74,300 | |||||||||
| Related Party | Base Electron, Inc. | |||||||||||
| Related Party Transaction [Line Items] | |||||||||||
| Service amount | 100,000 | ||||||||||
| Aggregate principal amount | $ 59,200,000 | ||||||||||
| |||||||||||
| X | ||||||||||
- Definition Face (par) amount of debt instrument at time of issuance. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition The percentage of ownership of common stock or equity participation in the investee accounted for under the equity method of accounting. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of investment in equity security without readily determinable fair value. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount before accretion (amortization) of purchase discount (premium) of interest income on nonoperating securities. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of asset related to consideration paid in advance for costs that provide economic benefits in future periods, and amount of other assets that are expected to be realized or consumed within one year or the normal operating cycle, if longer. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of expense (reversal of expense) for expected credit loss on accounts receivable. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of transactions with related party during the financial reporting period. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| 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. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition The aggregate total costs related to selling a firm's product and services, as well as all other general and administrative expenses. Direct selling expenses (for example, credit, warranty, and advertising) are expenses that can be directly linked to the sale of specific products. Indirect selling expenses are expenses that cannot be directly linked to the sale of specific products, for example telephone expenses, Internet, and postal charges. General and administrative expenses include salaries of non-sales personnel, rent, utilities, communication, etc. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|