Summary of Cash, Cash Equivalents and Restricted Cash -Additional information (Details) - USD ($)
$ in Thousands
Dec. 31, 2021
Dec. 31, 2020
Restricted Cash and Cash Equivalents [Abstract]    
Cash and cash equivalents $ 200,825 $ 300,852
Short term restricted cash included in other current assets 383 0
Restricted cash 2,311 2,301
Total $ 203,519 $ 303,153