v3.25.2
Stock-Based Compensation - Schedule of Stock-Based Compensation Expense (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2025
Jun. 30, 2024
Jun. 30, 2025
Jun. 30, 2024
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]        
Compensation expense recognized $ 25,058 $ 28,095 $ 50,029 $ 56,964
Cost of customer agreements and incentives        
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]        
Compensation expense recognized 2,279 2,299 4,772 4,245
Cost of solar energy systems and product sales        
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]        
Compensation expense recognized 533 535 987 1,089
Sales and marketing        
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]        
Compensation expense recognized 10,780 11,816 20,936 26,991
Research and development        
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]        
Compensation expense recognized 1,151 4,462 2,144 7,074
General and administration        
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]        
Compensation expense recognized $ 10,315 $ 8,983 $ 21,190 $ 17,565