v3.22.0.1
Equity Method Investments - Additional information (Detail) - USD ($)
$ in Thousands
1 Months Ended 12 Months Ended
Nov. 30, 2019
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Schedule of Equity Method Investments [Line Items]        
Payments made to acquire equity method investments   $ 0 $ 2,934 $ 25,868
Palantir Technologies Japan, K.K. [Member]        
Schedule of Equity Method Investments [Line Items]        
Number of shares purchased 100,000      
Payments made to acquire equity method investments $ 25,000      
Equity method investment ownership percentage 50.00%      
SOMPO [Member]        
Schedule of Equity Method Investments [Line Items]        
Equity method investment ownership percentage 50.00%