Text this: Loss-tolerant measurement-device-independent quantum random number generation