Server side detection of the device size can be rather hit and miss due to continuous changes in mobile tech. So we’re not confident it would be a stable solution.
You could use an element display filter to remove the element using the wp_is_mobile() function as a condition and see how it goes: