Income Taxes - Gross Unrecognized Tax Benefits (Detail) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Reconciliation of Unrecognized Tax Benefits, Excluding Amounts Pertaining to Examined Tax Returns [Roll Forward]    
Balance at the beginning of the year $ 1,465 $ 2,413
Adjustments related to prior year tax positions 813  
Adjustments related to prior year tax positions   (1,177)
Increases related to current year tax positions 401 229
Decreases due to statute of limitation expiration 0 0
Balance at end of year $ 2,679 $ 1,465