https://shop.fairphone.com/spare-parts
As you can see, fairphone still sells spare parts for the fairphone 2, that came out years ago (i think ~8?). So as long as fairphone isnt going bankrupt you have a good chance to get any spare part you need for years to come.
Hit the Road Jack - Ray Charles