Text this: Revealing the origin of voltage loss in mixed-halide perovskite solar cells