Leasing a car can have advantages but as others have said, there are many things to consider. In no particular order -
1 - is there a upfront cost outside of the standard costs? I don't think you should ever pay a "down payment" (outside of taxes and license of course) on a leased vehicle. It is a clever way for the dealership to make some money right away.
2 - as has been hammered home above, residual value, is often key, especially if you think you are going to want to buy it in the future. Not all dealers are alike so some will value the exact same car with a different %. Often times, dealers that focus on leasing use their own finance companies or floorplan companies they have a relationship with so they should know the residual value immediately. Fairly decent article that breaks it down in pretty simple terms -
https://www.edmunds.com/car-leasing/the-residual-value-of-leasing.html
3 - also mentioned above - mileage is key. Can add up quickly if you go over.
4 - are you looking at a vehicle that is highly sought after in the used market? If so, that could help towards the end of the lease
5 - I have never leased so I do not know if insurance is looked at the same on a leased vehicle, so worth checking with your company ahead of time. Most companies require full coverage when you have a loan so I assume it is, but may be worth checking.
6 - may be worth considering if there is a fee to break your lease and/or return the car. For one reason or another you may not need/want the vehicle. Probably overthinking that one.