Advice on how much of my dogs leg to amputate

Our much loved 4 year old staffie was hit by a car at 50mph 6 weeks ago. She hasn’t been able to use her front leg properly since due to nerve damage which we were hoping would recover, but she has now self mutilated her paw and the only option is amputation. My question is how much of the leg should we amputate? I’m worried if she’s left with any leg that she will mutilate it again, but equally don’t want to have it all removed if that’s not the best option. We are not seeing the surgeon to discuss until the day of the operation next Tuesday so could do with advice! We won’t be getting a prosthetic.