XML 73 R63.htm IDEA: XBRL DOCUMENT v3.23.2
Stock-Based Compensation - Summary of Stock-Based Compensation Expense (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2023
Jun. 30, 2022
Jun. 30, 2023
Jun. 30, 2022
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]        
Compensation expense recognized $ 28,237 $ 26,653 $ 56,503 $ 65,872
Stock-based compensation expense capitalized 2,800 2,500 5,200 7,400
Cost of customer agreements and incentives        
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]        
Compensation expense recognized 2,048 2,169 3,889 5,356
Cost of solar energy systems and product sales        
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]        
Compensation expense recognized 1,494 1,682 3,262 5,014
Sales and marketing        
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]        
Compensation expense recognized 14,835 13,490 29,712 37,624
Research and development        
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]        
Compensation expense recognized 452 743 894 1,696
General and administration        
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]        
Compensation expense recognized $ 9,408 $ 8,569 $ 18,746 $ 16,182