XML 22 R4.htm IDEA: XBRL DOCUMENT v3.22.0.1
CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (LOSS) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Statement of Comprehensive Income [Abstract]      
Net income (loss) $ 136,139 $ (280,484) $ 155,293
Unrealized losses on available-for-sale debt securities:      
Unrealized holding losses arising during period (6,224) 0 0
Less: reclassification adjustment for losses included in net income 101 0 0
Total unrealized losses on available-for-sale debt securities (6,123) 0 0
Foreign currency translation adjustments (31,494) 27,864 1,784
Other comprehensive (loss) income, net of tax (37,617) 27,864 1,784
Comprehensive income (loss) 98,522 (252,620) 157,077
Less: Comprehensive income (loss) attributable to non-controlling interest 527 4,289 (1,088)
Comprehensive income (loss) attributable to WEX Inc. $ 97,995 $ (256,909) $ 158,165