XML 130 R57.htm IDEA: XBRL DOCUMENT v3.22.0.1
Cash, cash equivalents, and restricted cash (Details) - USD ($)
$ in Thousands
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Dec. 31, 2018
Cash and Cash Equivalents [Line Items]        
Cash and cash equivalents $ 361,348 $ 568,532    
Restricted cash 53,879 29,173    
Cash, cash equivalents, and restricted cash 415,227 597,705 $ 242,689 $ 272,130
Funds held in trust under the terms of certain secured notes payable        
Cash and Cash Equivalents [Line Items]        
Restricted cash 17,264 17,256    
Funds held in escrow related to construction projects and investing activities        
Cash and Cash Equivalents [Line Items]        
Restricted cash 30,000 4,580    
Other restricted cash        
Cash and Cash Equivalents [Line Items]        
Restricted cash $ 6,615 $ 7,337