XML 79 R64.htm IDEA: XBRL DOCUMENT v3.22.0.1
Income Taxes - Schedule of reconciliation of income tax benefit (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Income Tax Disclosure [Abstract]      
Income tax benefit computed at federal statutory rate $ 71,322 $ (48,307) $ (19,960)
Foreign rate differential 1,214 (1,317) (144)
Stock-based compensation expense 104,993 24,004 1,612
Change in valuation allowance 192,301 27,446 18,958
Research and development credits (14,483) (2,432) (1,112)
Other 457 399 641
Provision for (benefit from) income taxes $ 3,174 $ (207) $ (5)