> a simple hand-crafted SVG
I have also had trouble with some generated SVGs, for example:
https://gitlab.com/inkscape/inkscape/-/issues/5317
Part of the problem is that Inkscape is too good, and the file format it uses mostly conforms to standards, so I have the expectation that opening arbitrary SVGs would just work. With other programs that use proprietary formats, I wouldn't have tried to generate drawings at all. It's a bummer when I run into what seem to be corner cases of Inkscape's SVG handling, but fortunately the set of corner cases seem to be shrinking.
Have you tried saving in one of the different SVG formats. I forgot what inkscape calls them, but IMO there are 2 or 3 different SVG formats one can choose when saving. I know I needed that a long time ago, because chrome could not deal with the advanced features in regular inkscape SVG.