XML 54 R40.htm IDEA: XBRL DOCUMENT v3.21.2
Cash, Cash Equivalents and Restricted Cash (Details) - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2021
Dec. 31, 2020
Jun. 30, 2020
Dec. 31, 2019
Cash and Cash Equivalents [Abstract]        
Term of restriction 1 year      
Cash and cash equivalents $ 40,585 $ 137,060 $ 32,010 $ 37,575
Restricted cash 142,951 128,017 129,235 126,544
Total cash, cash equivalents and restricted cash $ 183,536 $ 265,077 $ 161,245 $ 164,119