Annual report pursuant to Section 13 and 15(d)

Income Taxes - Schedule of Effective Income Tax Rate Reconciliation (Details)

v3.22.0.1
Income Taxes - Schedule of Effective Income Tax Rate Reconciliation (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Income Tax Disclosure [Abstract]      
Provision (benefit) at statutory rate $ 10,071 $ (24,119) $ (6,821)
State income taxes (net of federal benefit) 62 9 11
Research and development credits (10,441) (6,521) (7,815)
Foreign rate differential (10,063) 2,354 (4,489)
Stock compensation 4,029 5,425 (2,750)
Foreign income inclusion 14,119 1,446 3,936
Provision to return (263) (286) 1,887
Uncertain tax positions 1,072 222 1,244
Permanent and other 726 131 716
Foreign unremitted earnings (59) (233) (103)
Transaction costs 45 883 0
Attribute expirations 0 11,937 2,837
Valuation allowance (3,397) (7,507) (1,239)
Total income tax provision (benefit) $ 5,901 $ (16,259) $ (12,586)