Segment Information - Schedule of the Company's significant segment expenses and other segment items (Details) - USD ($) $ in Thousands |
3 Months Ended | 9 Months Ended | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
Sep. 30, 2026 |
Sep. 30, 2025 |
Sep. 30, 2026 |
Sep. 30, 2025 |
|||||||
| Segment Reporting [Line Items] | ||||||||||
| Revenue | $ 250,300 | $ 200,138 | $ 606,156 | $ 465,481 | ||||||
| Payment processing services costs | 93,989 | 72,318 | 246,188 | 176,768 | ||||||
| Restructuring | 0 | 0 | 0 | 8,690 | ||||||
| Interest expense | 463 | 1,197 | 1,079 | 2,986 | ||||||
| Interest income | (506) | (769) | (2,077) | (4,792) | ||||||
| (Loss) gain from remeasurement of foreign currency | 451 | 626 | 47 | (6,897) | ||||||
| Gain on available-for-sale debt securities | (3) | 0 | (3) | (166) | ||||||
| (Benefit from) provision for income taxes | (22,189) | 1,568 | (17,189) | 7,665 | ||||||
| Net income | 74,543 | 29,631 | 78,914 | 13,464 | ||||||
| Single reportable segment | ||||||||||
| Segment Reporting [Line Items] | ||||||||||
| Revenue | 250,300 | 200,138 | 606,156 | 465,481 | ||||||
| Payment processing services costs | 88,685 | 66,582 | 233,137 | 162,361 | ||||||
| Personnel expense | [1] | 43,717 | 42,784 | 136,210 | 125,206 | |||||
| Other segment items | [2] | 39,645 | 33,575 | 98,502 | 85,731 | |||||
| Depreciation and amortization | 7,991 | 7,165 | 24,510 | 20,203 | ||||||
| Stock-based compensation expense | [3] | 17,503 | 17,779 | 53,026 | 51,030 | |||||
| Restructuring | 0 | 0 | 0 | 8,690 | ||||||
| Interest expense | 463 | 1,197 | 1,079 | 2,986 | ||||||
| Interest income | (506) | (769) | (2,077) | (4,792) | ||||||
| (Loss) gain from remeasurement of foreign currency | 451 | 626 | 47 | (6,897) | ||||||
| Gain on available-for-sale debt securities | (3) | 0 | (3) | (166) | ||||||
| (Benefit from) provision for income taxes | (22,189) | 1,568 | (17,189) | 7,665 | ||||||
| Net income | $ 74,543 | $ 29,631 | $ 78,914 | $ 13,464 | ||||||
| ||||||||||
| X | ||||||||||
- Definition Payment processing services costs. No definition available.
|
| X | ||||||||||
- Definition Personnel Expense No definition available.
|
| X | ||||||||||
- Definition Amount of expense for award under share-based payment arrangement. Excludes amount capitalized. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of unrealized and realized gain (loss) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition The aggregate expense recognized in the current period that allocates the cost of tangible assets, intangible assets, or depleting assets to periods that benefit from use of the assets. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount, before tax, of realized and unrealized gain (loss) from foreign currency transaction. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of interest expense classified as nonoperating. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of interest income earned from interest bearing assets classified as other. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition The portion of profit or loss for the period, net of income taxes, which is attributable to the parent. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of expenses associated with exit or disposal activities pursuant to an authorized plan. Excludes expenses related to a discontinued operation or an asset retirement obligation. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount of revenue recognized from goods sold, services rendered, insurance premiums, or other activities that constitute an earning process. Includes, but is not limited to, investment and interest income before deduction of interest expense when recognized as a component of revenue, and sales and trading gain (loss). 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 Amount of other expense (income) and loss (gain) calculated as difference between segment revenue and separately disclosed expense category to arrive at segment profit (loss). Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Details
|