services purchased from these vendors include rent of office space and certain utilities and maintenance services related to the property on which the rented premises are located. Expenses and related payments to these vendors totaled $1.3 million and $1.5 million during the years ended December 31, 2021 and December 31, 2020, respectively. The Company owed these vendors an aggregate of $0.1 million and $0.2 million as of December 31, 2021 and December 31, 2020, respectively. JoeBen Bevirt, who is a director and officer of Joby, is affiliated with Joby Trust.
Legacy Joby Investors’ Rights Agreement
Legacy Joby was a party to the Amended and Restated Investors’ Rights Agreement, dated as of December 23, 2019 (the “Investors’ Rights Agreement”), which granted registration rights and information rights, among other things, to certain holders of its capital stock including: (i) entities affiliated with Intel Corporation, Joby Trust, Sciarra Management Trust, Technology Impact Fund, L.P. and Toyota Motor Corporation, each of which currently hold more than 5% of Joby’s capital stock and (ii) entities affiliated with Dayton Joby Trust 1, Dated November 18, 2020, which is affiliated with Legacy Joby director, Sky Dayton. JoeBen Bevirt, Paul Sciarra, Dipender Saluja and James Kuffner, each of whom are directors of Joby, are affiliated with Joby Trust, Sciarra Management Trust, Technology Impact Fund and Toyota Motor Corporation, respectively. This agreement terminated upon the closing of the Merger.
Right of First Refusal
Pursuant to the 2016 Plan and certain agreements with its stockholders, including the Amended and Restated Right of First Refusal and Co-Sale Agreement, dated as of December 23, 2019 (the “ROFR Agreement”), Legacy Joby had the right to purchase shares of Joby capital stock which certain stockholders proposed to sell to other parties. Certain holders of Joby capital stock, including (i) entities affiliated with Intel Corporation, Joby Trust, Sciarra Management Trust, Technology Impact Fund, L.P. and Toyota Motor Corporation, each of which currently hold more than 5% of Joby’s capital stock and (ii) entities affiliated with Dayton Joby Trust 1, Dated November 18, 2020, which is affiliated with Legacy Joby director, Sky Dayton, have rights of first refusal and co-sale under the ROFR Agreement. JoeBen Bevirt, Paul Sciarra, Dipender Saluja and James Kuffner, each of whom are directors of Joby, are affiliated with Joby Trust, Sciarra, Management Trust, Technology Impact Fund and Toyota Motor Corporation, respectively. This agreement terminated upon the closing of the Merger.
Voting Agreement
Legacy Joby was a party to the Amended and Restated Voting Agreement, dated as of December 23, 2019, pursuant to which certain holders of its capital stock, including (i) entities affiliated with Intel Corporation, Joby Holdings, Inc., Joby Trust, Sciarra Management Trust, Technology Impact Fund, L.P. and Toyota Motor Corporation, each of which currently hold more than 5% of Joby’s capital stock and (ii) entities affiliated with Dayton Joby Trust 1, Dated November 18, 2020, which is affiliated with Legacy Joby director, Sky Dayton, have agreed to vote their shares of our capital stock on certain matters, including with respect to the election of directors. JoeBen Bevirt, Paul Sciarra, Dipender Saluja and James Kuffner, each of whom are directors of Joby, are affiliated with Joby Holdings, Inc. and Joby Trust, Sciarra Management Trust, Technology Impact Fund and Toyota Motor Corporation, respectively. This agreement terminated upon the closing of the Merger.
Director and Officer Indemnification
Joby’s charter and bylaws provide for indemnification and advancement of expenses for its directors and officers to the fullest extent permitted by the DGCL, subject to certain limited exceptions. Joby has entered into indemnification agreements with each of its directors and executive officers.
Registration Rights Agreement
In connection with the closing of the Merger, we and certain of our and RTP’s stockholders entered into an Amended and Restated Registration Rights Agreement (the “Registration Rights Agreement”). Pursuant to the Registration Rights Agreement, we agreed to file a shelf registration statement with respect to the registrable securities under the Registration Rights Agreement within thirty calendar days of the closing of the Merger. Certain stockholders party to the agreement may each request to sell all or any portion of their registrable securities in an underwritten offering up to two times in any 12-month period, so long as the total offering price is reasonably