XML 134 R115.htm IDEA: XBRL DOCUMENT v3.20.4
Redeemable Non-Controlling Interest - Narrative (Details) - USD ($)
$ in Thousands
12 Months Ended
Mar. 05, 2019
Dec. 31, 2020
Dec. 31, 2019
Noncontrolling Interest [Line Items]      
Adjustment to redeemable non-controlling interest to reflect WEX Health at fair value   $ (40,312) $ 57,315
Discovery Benefits, Inc.      
Noncontrolling Interest [Line Items]      
Ownership percentage by noncontrolling interest 4.90% 4.90%  
Adjustment to redeemable non-controlling interest to reflect WEX Health at fair value $ 41,400    
Call rights, exercise period   7 years  
Discovery Benefits, Inc. | Non-Controlling Interest      
Noncontrolling Interest [Line Items]      
Adjustment to redeemable non-controlling interest to reflect WEX Health at fair value $ 41,400