XML 92 R80.htm IDEA: XBRL DOCUMENT
v3.21.2

Subsequent Events (Details) - USD ($) $ in Millions | Oct. 14, 2021 | Sep. 30, 2021
--- | --- | ---
Wellington Management Company LLP |  |
Subsequent Event [Line Items] |  |
Related Party, Ownership Interest |  | 9.00%
Subsequent Event |  |
Subsequent Event [Line Items] |  |
Decrease in custodial cash held | $ 960.0 |

X
- Definition The increase (decrease) during the reporting period in the carrying amount of client funds held and maintained in custodial and separate accounts, and which are owned by clients or contract holders. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123570139&loc=d3e3602-108585 + Details
Name: | us-gaap_IncreaseDecreaseInClientFundsHeld
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Detail information of subsequent event by type. User is expected to use existing line items from elsewhere in the taxonomy as the primary line items for this disclosure, which is further associated with dimension and member elements pertaining to a subsequent event. + References No definition available. + Details
Name: | us-gaap_SubsequentEventLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Related Party, Ownership Interest + References No definition available. + Details
Name: | wex_RelatedPartyOwnershipInterest
Namespace Prefix: | wex_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Details
Name: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=wex_WellingtonManagementCompanyLLPMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_SubsequentEventTypeAxis=us-gaap_SubsequentEventMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |