Monolithic thin-film lithium niobate broadband spectrometer with one nanometre resolution | Synapse