There are other inputs to growing outdoors: fertilizer usage, water usage, and insecticide/pesticide usage (likely not an exhaustive list). In a controlled environment like an indoor farm the use of each of those is dramatically less than in traditional farming. It would be worthwhile to include all of the inputs of growing food since light and transportation are not the full list.
(disclosure: I work for an indoor, vertical farming company)