XML 50 R31.htm IDEA: XBRL DOCUMENT v3.22.0.1
Revenue Recognition (Tables)
12 Months Ended
Dec. 31, 2021
Revenue from Contract with Customer [Abstract]  
Schedule of Contract with Customer, Asset and Liability
The following table provides information about accounts receivables, contract assets, customer deposits and deferred revenue from contracts with customers (in thousands):

December 31,
 20212020
Accounts receivable$87,788 $96,186 
Contract assets25,201 3,327 
Customer deposits64,809 66,171 
Deferred revenue 115,476 135,578 
Years Ended
December 31,
20212020
Beginning balance$3,327 $2,768 
Transferred to accounts receivable from contract assets recognized at the beginning of the period(1,198)— 
Revenue recognized and not billed as of the end of the period23,072 559 
Ending balance$25,201 $3,327 
Deferred revenue activity, including deferred incentive revenue activity, during the years ended December 31, 2021 and 2020 consisted of the following (in thousands):
Years Ended
December 31,
20212020
Beginning balance$135,578 $175,619 
Additions916,604 652,960 
Revenue recognized(936,706)(693,001)
Ending balance$115,476 $135,578 
Disaggregation of Revenue
We disaggregate revenue from contracts with customers into four revenue categories: product, installation, services and electricity (in thousands):
Years Ended
December 31,
202120202019
Revenue from contracts with customers:
Product revenue$663,512 $518,633 $557,336 
Installation revenue96,059 101,887 60,826 
Services revenue144,184 109,633 95,786 
Electricity revenue3,103 1,071 10,840 
Total revenue from contract with customers906,858 731,224 724,788 
Revenue from contracts accounted for as leases:
Electricity revenue65,318 63,023 60,389 
Total revenue$972,176 $794,247 $785,177