XML 94 R76.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Acquisitions - Schedules of Pro Forma Information (Details) - USD ($) $ / shares in Units, $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2020 | Dec. 31, 2019
Original Purchase Agreement |  |
Business Acquisition [Line Items] |  |
Total revenues | $ 1,610,216 | $ 1,876,494
Net loss attributable to shareholders | $ (49,480) | $ (62,315)
Net loss attributable to shareholders per share: |  |
Basic (in dollars per share) | $ (1.13) | $ (1.44)
Diluted (in dollars per share) | $ (1.13) | $ (1.44)
Discovery Benefits and Noventis |  |
Business Acquisition [Line Items] |  |
Total revenues |  | $ 1,742,797
Net loss attributable to shareholders |  | $ 113,851
Net loss attributable to shareholders per share: |  |
Basic (in dollars per share) |  | $ 2.63
Diluted (in dollars per share) |  | $ 2.60

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. + References No definition available. + Details
Name: | us-gaap_BusinessAcquisitionLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The pro forma basic net income per share for a period as if the business combination or combinations had been completed at the beginning of a period. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (h)(3) -URI http://asc.fasb.org/extlink&oid=79982066&loc=d3e1392-128463 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (h)(2) -URI http://asc.fasb.org/extlink&oid=79982066&loc=d3e1392-128463 + Details
Name: | us-gaap_BusinessAcquisitionProFormaEarningsPerShareBasic
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition The pro forma diluted net income per share for a period as if the business combination or combinations had been completed at the beginning of a period. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (h)(3) -URI http://asc.fasb.org/extlink&oid=79982066&loc=d3e1392-128463 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (h)(2) -URI http://asc.fasb.org/extlink&oid=79982066&loc=d3e1392-128463 + Details
Name: | us-gaap_BusinessAcquisitionProFormaEarningsPerShareDiluted
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition The pro forma net Income or Loss for the period as if the business combination or combinations had been completed at the beginning of a period. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (h)(3) -URI http://asc.fasb.org/extlink&oid=79982066&loc=d3e1392-128463 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (h)(2) -URI http://asc.fasb.org/extlink&oid=79982066&loc=d3e1392-128463 + Details
Name: | us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The pro forma revenue for a period as if the business combination or combinations had been completed at the beginning of the period. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (h)(2) -URI http://asc.fasb.org/extlink&oid=79982066&loc=d3e1392-128463 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (h)(3) -URI http://asc.fasb.org/extlink&oid=79982066&loc=d3e1392-128463 + Details
Name: | us-gaap_BusinessAcquisitionsProFormaRevenue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_EarningsPerShareAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=wex_OriginalPurchaseAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=wex_DiscoveryBenefitsandNoventisMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |