Annual and transition report of foreign private issuers pursuant to Section 13 or 15(d)

SHARE-BASED COMPENSATION - Summary of Share-Based Payment Arrangement, Expensed and Capitalized, Amount (Detail)

v3.22.4
SHARE-BASED COMPENSATION - Summary of Share-Based Payment Arrangement, Expensed and Capitalized, Amount (Detail) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]      
Share-based payment arrangement, expense $ 19,449 $ 64,736 $ 3,196
Cost of revenues [Member]      
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]      
Share-based payment arrangement, expense 174 0 0
Research and development [Member]      
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]      
Share-based payment arrangement, expense 11,995 25,504 2,649
Sales and marketing [Member]      
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]      
Share-based payment arrangement, expense 2,300 17,153 338
General and administrative [Member]      
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]      
Share-based payment arrangement, expense $ 4,980 $ 22,079 $ 209