Will 22 AWG wire be okay for some M<->F extension wires?
Sure it will.
Anything 30AWG or larger will work for inputs as long as it is stranded
*not solid* so you can make a solid mechanical and electrical connection with the appropriate size QDs.
Most people will use between 24AWG and 20AWG since those are easy sizes to work with and less likely to break than smaller wire sizes.
Scott