The renderer itself is abstracted and defaults to opengl 3.3 with a fallback to software rendering as last resort and to be portable.
Long story short: It's not easy but very possible to build a polished cross-platform GUI smaller than 1MB. My app binary currently compiles down to 135 KB on desktop, in the end I aim for less than 2 MB for the whole application.
However I wouldn't recommend this for most applications where a framework would be a faster option for a traditional GUI.
I hope your UI designers are happy with some text wrapping on one platform and not another because they have slightly different metrics even given the same font - for me this has never flown and I had to work to make things pixel-perfect across mac / windows / linux a few times now which definitely does not work when using the platform renderers.
816K /usr/local/opt/freetype/lib/libfreetype.a
1.9M /usr/local/opt/harfbuzz/lib/libharfbuzz.a
2.1M /usr/local/opt/sdl2/lib/libSDL2.a
I don't think people really mind a 20MB executable if it was a self contained application with good performance and UI.