Balance Sheet Components - Schedule of Other Assets (Details) - USD ($) $ in Thousands |
Dec. 31, 2025 |
Jun. 30, 2025 |
|---|---|---|
| Balance Sheet Related Disclosures [Abstract] | ||
| Processing reserves | $ 125,197 | $ 90,826 |
| Prepaid expenses | 61,128 | 47,027 |
| Equity securities held at cost | 40,396 | 40,277 |
| Risk sharing assets | 38,992 | 43,179 |
| Operating lease right-of-use assets | 25,904 | 19,124 |
| Prepaid payroll taxes for stock-based compensation | 25,470 | 25,188 |
| Foreign deferred tax asset | 9,574 | 13,929 |
| Other assets | 18,325 | 15,810 |
| Total other assets | $ 344,986 | $ 295,360 |
| X | ||||||||||
- Definition Cash Deposits, Processing Reserves No definition available.
|
| X | ||||||||||
- Definition Prepaid Payroll Tax No definition available.
|
| X | ||||||||||
- Definition Risk Sharing Asset No definition available.
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible foreign operating loss carryforwards. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of investment in equity security without readily determinable fair value. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of lessee's right to use underlying asset under operating lease. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of assets classified as other. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of other miscellaneous assets. No definition available.
|
| X | ||||||||||
- Definition Carrying amount as of the balance sheet date of expenditures made in advance of when the economic benefit of the cost will be realized, and which will be expensed in future periods with the passage of time or when a triggering event occurs. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|